Reputation: 533
When I go to preference --> Editor --> Inspections --> TODO comment. And I select the Severity of the yellow colour for the warning. Does anyone have the same problem then? If so, I would appreciate a solution.
Upvotes: 1
Views: 69
Reputation: 348
You can see how the TODO
's are matched at Settings > Editor > TODO
. The default regex'es match a case insenstive todo
word (e.g. ToDo
will still be matched).
If by chance you want a dash in the todo
(i.e. to-do
), you can modify the existing pattern \btodo\b.*
to \bto-?do\b.*
.
Upvotes: 1