Q:

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.

A:

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

