Search using function/method name in VS Code Python

Viewed 3040

I use PyCharm for my python programs. I have been trying out VS Code recently and have been liking it. One feature I miss is the 'Search Everywhere' feature in pycharm which allows you to search for function/method names across your entire project. You can even search for relative function names like project.module.module.function_name and it would show up.

Can I achieve the same thing in VS Code ?

1 Answers

I think this official guide should work for your case.

VS Code allows you to quickly search over all files in the currently-opened folder. Press Ctrl+Shift+F and enter in your search term. Search results are grouped into files containing the search term, with an indication of the hits in each file and its location. Expand a file to see a preview of all of the hits within that file. Then single-click on one of the hits to view it in the editor.

Related