Highlighting comments containing TODO in Sublime Text 2

samturner picture samturner · Apr 28, 2013 · Viewed 26.5k times · Source

Is there a way to tell Sublime to highlight comments that contain the word "TODO"?

I've looked for plugins that do this but haven't really been able to find much.

Answer

jstaab picture jstaab · Oct 29, 2013

Sublime Linter should do the trick. You can add underlining for custom static text.

All you need is the Sublime Package Manager:

  1. Press Ctrl/Cmd+Shift+P
  2. Search for "Package Control: Install Package"
  3. Search for "SublimeLinter"

As stated by jon in the first comment:

For ST3, the SublimeLinter-annotations plugin highlights TODO, FIXME etc.