Zézouille
Zézouille

Reputation: 533

TODO comment of pycharm on Mac doesn't show sharp color like in Linux

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

Answers (1)

Kevin
Kevin

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.*.

todo-matching

Upvotes: 1

Related Questions