SublimeText / LaTeXTools

LaTeX plugin for Sublime Text
https://latextools.readthedocs.io/
2k stars 364 forks source link

Syntax highlighting for TODO #1475

Closed TomJansen closed 4 years ago

TomJansen commented 4 years ago

In Texmaker, %TODO is highlighted, as shown in this screenshot: image.

It would be nice to also have this in LaTeXTools. Thanks!

r-stein commented 4 years ago

Sorry for the late reply. Note that the LaTeX syntax highlighting ist part of Sublime Text and not part of LaTeXTools, however we also could add a highlighting for TODO. However the power of Sublime Text is that you can add different generic packages for functionalities. Since this is not a LaTeX specific functionality I would see this in a "Highlight TODOs" package and not inside LaTeXTools.

To be more specific: You can install the HighlightWords package and use it to highlight TODOs. Please let me know if you need further assistance.

TomJansen commented 4 years ago

It makes sense to use a separate package for TODO, because it is not LaTeX specific. Thanks! The package you recommended works perfectly. I made TODO highlighting permanent in the settings of that package. BTW: LaTeXTools is awesome and it is now my main LaTeX environment, so a big thanks to you all!