PyCharm has a feature that colors your comments yellow if they include TODO
or FIXME
keywords. What is the way to add more keywords to the list and change the colors based on the keyword?
Example:
In PyCharm:
CTRL+ALT+S
or navigate to Preferences/Settings
TODO
or go to Editor/TODO
ERROR
keyword would be \berror\b.*
. It can also be any other regex pattern.
\b
- word boundaries; .*
- zero or more characters.Use color scheme TODO default colors
and change the foreground color (ex. C00000
- red)Results:
Settings:
Example ERROR
pattern (red):