In atom some special words such as TODO, FIXME, IDEA, NOTE, ... are automatically highlighted in comments inside code. I want to add some words to this list, how can I do?
All of the words you have identified are implemented by the atom/language-todo package and supports TODO
, FIXME
, CHANGED
, XXX
, IDEA
, HACK
, NOTE
, and REVIEW
words in comments.
language-todo has subsequently been extended to include some extra words in the dkiyatkin/language-todo-extra-words package to include: INFO
, DEBUG
, REMOVE
, OPTIMIZE
, UNDONE
, TO DO
, REFACTOR
, DEPRECATED
, TASK
, CHGME
, NOTREACHED
, WTF
, BUG
, ERROR
, OMG
, ERR
, OMFGRLY
, WARNING
, WARN
and BROKEN
.
If you wanted even more words then you could extend the grammars of one of the above packages to support the words you would like to see supported. If you need some help with this then feel free to post questions using the atom-editor
tag on Stack Overflow or on the Atom Discussion Boards.
I recommend also todo-show. To open it use Ctrl+Shift+T. Is shows list of all todos in project. Yo can redefine keywords it looks for. It's realy nice to manage all todos in project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With