Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Search using function/method name in VS Code Python

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 ?

like image 608
sharath Avatar asked Apr 09 '26 13:04

sharath


1 Answers

Open the Command Palette (Ctrl+P) and type the name of the symbol you are looking for, prepended with the character # e.g. #MyClass

enter image description here

like image 97
ssoler Avatar answered Apr 12 '26 04:04

ssoler



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!