Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How search for method in VSCode?

Is there's any functionality simillar to CTRL+R of sublime in VSCode?

Sublime search method functionality

like image 517
Ricardo Silva Avatar asked Aug 01 '17 14:08

Ricardo Silva


People also ask

How do I search for components in VSCode?

Open a project in VS Code containing your application. Click the File Search on the status bar on the bottom of the VSCode IDE. You can also use a keyboard shortcut, Control+Shift+P in Windows or Command+Shift+P on MacOS, to open the command palette and choose Now: Global Search from the list.


2 Answers

Go to Symbol workbench.action.gotoSymbol Ctrl+Shift+O.

You can reassign it to Ctrl+R.

You can also group them by typing colon @:.

like image 182
Alex Avatar answered Sep 21 '22 19:09

Alex


For search method name you can use CTRL + P and then start search with #

for example : #register

Or press CTRL + T and type method name

enter image description here

like image 41
Hamed Naeemaei Avatar answered Sep 18 '22 19:09

Hamed Naeemaei