为原子编辑器添加 TODO 单词高亮
Add TODO word highlighting to atom editor
在atom中一些特殊的词,比如TODO, FIXME, IDEA, NOTE, ...会在代码的注释中自动高亮显示。我想在此列表中添加一些单词,我该怎么做?
您识别的所有单词均由atom/language-todo包实现,支持TODO
、FIXME
、CHANGED
、XXX
、[=评论中有 14=、HACK
、NOTE
和 REVIEW
个单词。
language-todo 随后被扩展以在 dkiyatkin/language-todo-extra-words 包中包含一些额外的词,包括:INFO
、DEBUG
、REMOVE
、OPTIMIZE
, UNDONE
, TO DO
, REFACTOR
, DEPRECATED
, TASK
, CHGME
, NOTREACHED
, WTF
, BUG
、ERROR
、OMG
、ERR
、OMFGRLY
、WARNING
、WARN
和 BROKEN
。
如果你想要更多的话,那么你可以扩展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。
我也推荐todo-show。要打开它,请使用 Ctrl+Shift+T。是显示项目中所有待办事项的列表。你可以重新定义它寻找的关键词。管理项目中的所有待办事项真是太好了。
在atom中一些特殊的词,比如TODO, FIXME, IDEA, NOTE, ...会在代码的注释中自动高亮显示。我想在此列表中添加一些单词,我该怎么做?
您识别的所有单词均由atom/language-todo包实现,支持TODO
、FIXME
、CHANGED
、XXX
、[=评论中有 14=、HACK
、NOTE
和 REVIEW
个单词。
language-todo 随后被扩展以在 dkiyatkin/language-todo-extra-words 包中包含一些额外的词,包括:INFO
、DEBUG
、REMOVE
、OPTIMIZE
, UNDONE
, TO DO
, REFACTOR
, DEPRECATED
, TASK
, CHGME
, NOTREACHED
, WTF
, BUG
、ERROR
、OMG
、ERR
、OMFGRLY
、WARNING
、WARN
和 BROKEN
。
如果你想要更多的话,那么你可以扩展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。
我也推荐todo-show。要打开它,请使用 Ctrl+Shift+T。是显示项目中所有待办事项的列表。你可以重新定义它寻找的关键词。管理项目中的所有待办事项真是太好了。