开发者

Eclipse: How to get TODOs from SQL and XML files in tasks

开发者 https://www.devze.com 2023-04-07 05:55 出处:网络
In Java files I can write TODO comments and they show up in the Tasks window. // TODO: Do something about this

In Java files I can write TODO comments and they show up in the Tasks window.

// TODO: Do something about this

However, when I write TODO comments in for example SQL scripts and XML files, they don't show up. Is there a way I can get them t开发者_开发百科o do that? For example:

-- TODO: Fix this SQL query

<!-- TODO: Fix this XML -->


Check your main Preference dialog for Task Tags pages. Type "task" into the search box in the upper left of the dialog to help you find relevant pages. For XML files, I know that that feature is off by default.


checkbox to activate :

Editors/structured text editors/task tags => check "Enable searching for task tags"


Because a picture worth a thousand words :

Eclipse: How to get TODOs from SQL and XML files in tasks


Another option is to use Add Task... by right-clicking on the gutter of the editor.

Eclipse: How to get TODOs from SQL and XML files in tasks

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号