Is there any way to make comments stand out (bold/color)?

Sometimes I really want an important commment to stand out from the rest. Currently, the way I do this is to add @todo in front of the comment, but this is annoying because it's not actually a todo item (I just want the line to stand out).

Is there any kind of markup available that can make text bold and/or change the color, kind of like a todo?

Thanks!

1 comment

Not really.

But you still can use TODOs for that:

  • just use different marker/"prefix" (instead of "todo", e.g. "NOTE:") -- "Settings | TODO". You can set up different colors just for that.
  • in actual TODOs tool window, you can set up filtering to filter out such fake todos


Alternatively, use different comment type. IDE can have different colors for // (line comment) or /* */ (block comment) and /** */ (PHPDoc block comment)

0

Please sign in to leave a comment.