R.igo
R.igo

Reputation: 85

Searching 'TODO' is not working in PyCharm

TODO is not working in PyCharm. When I comment out and use TODO, there is no any highlight and PyCharm also found 0 TODO items.

And I also create a new project but the result is same. Here is what I did:

screenshot Here is what I did


Edit:

Someone advised me to check the TODO setting, but mine is fine. My PyCharm setting:

screenshot My PyCharm setting


First add:

Somehow it worked. I did nothing, but it worked.

But there is one more question for me. I mark a directory as exclusion. And in there TODO still does not work. Is it normal or get a new hitch?

Upvotes: 2

Views: 1912

Answers (2)

Shravya Murthy
Shravya Murthy

Reputation: 11

Mine started working after I ran "git add ."

Upvotes: 0

Pavel Karateev
Pavel Karateev

Reputation: 8550

Make sure default TODO patterns are in place:

enter image description here

Upvotes: 4

Related Questions