Eclipse: How to get TODOs from SQL and XML files in tasks
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 :
Another option is to use Add Task...
by right-clicking on the gutter of the editor.
精彩评论