Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Search Everywhere for Comments in Pycharm

Tags:

python

pycharm

Pycharm Search Everywhere function easily allows the user to search everywhere for source code in every file of the project. However it is not able to search for comments, is there a way around that problem?.

enter image description here

I usually leave important comments of lessons learned or links to stack overflow containing helpfull code, and would love a way to easily serach for these comments, when I forget where I wrote them.

Thanks for Reading

like image 894
Timo Kvamme Avatar asked Mar 16 '16 13:03

Timo Kvamme


People also ask

How can I see all functions in PyCharm?

View source file structure By default, PyCharm shows all classes, methods, and other elements of the current file. To toggle the elements you want to show, click the corresponding buttons on the Structure tool window toolbar. to show class fields.

How do you select all occurrences of a word in PyCharm?

Select all occurrences: Shift + Ctrl + Alt + J (Ctrl + Cmd + G for Mac OS X)

How do you comment all lines in PyCharm?

Comment out multiple lines in Pycharm If we have to comment out multiple lines of code in Pycharm, we can select the lines to be commented out and then press ctrl+shift+/ . To uncomment the lines, we just have to select the lines and then again press ctrl+shift+/ .


1 Answers

Ctrl Shift F

Is a project wide text search. I think there's an option button to search comments

like image 135
OneCricketeer Avatar answered Oct 15 '22 12:10

OneCricketeer