Search code examples
phpstormhighlighting

Are there more ways to highlight comments in PHPstorm than TODO or FIXME?


I knew already about the TODO: comment highlighting and just now saw that there is also a FIXME: highlighting.

I work in PHPStorm most of the time and want to know if there are other highlist-keywords.

TODO: & FIXME: both become the same color (blue). My main question is if there are more keywords like this that have different colors?

Thanks for explanation and sorry if this question is not relevant enough..


Solution

  • Possible using custom TODO patterns

    • add you own TODO pattern in "Settings | TODO", define the desired color and font (uncheck 'Use color scheme TODO default colors', set the preferred colors
    • Then on TODO tool window you can filter what todos to show (if you don't like your comments to appear in TODO tool window)

    See http://confluence.jetbrains.com/display/PhpStorm/Working+with+todo+comments+and+the+todo+tool+window