简体   繁体   English

在Python和Sublime Text中定义todo关键字

[英]Define todo keyword in Python and Sublime Text

Can I define #@TODO or something like that as a keyword to be highlighted in Python? 我可以将#@TODO或类似的东西定义为要在Python中突出显示的关键字吗?

Is this specific to the text editor or to the language/platform? 这是特定于文本编辑器还是语言/平台?

This is very specific to the editor. 这是非常特定于编辑器的。 Language/Platform has nothing to do with highlighting. 语言/平台与突出显示无关。

it s editor feature, eclipse has highlighter, in emacs you can define and ... 它的编辑器功能,eclipse具有荧光笔,可以在emacs中定义和...

also you can use bash script to find all todo in your project 您也可以使用bash脚本查找项目中的所有待办事项

grep "# TODO" ./ -Rn

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM