Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Highlighting comments containing TODO in Sublime Text 2 [closed]

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.

like image 964
samturner Avatar asked Apr 28 '13 01:04

samturner


People also ask

How do I enable syntax highlighting in sublime?

To enable Syntax Highlighting click on “View” in the top bar, then hover your mouse over “Syntax”, and select your programming language from the list. Alternatively, if you save a document with a supported file extension, Sublime Text 3 will automatically apply the Syntax Highlighting for that language.

How do you highlight in Sublime Text?

🖍 Text Marker (Highlighter) Simply use Alt + Space to mark selected text.


1 Answers

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.

like image 181
jstaab Avatar answered Sep 23 '22 01:09

jstaab