Search code examples
sqlxmleclipsecommentstodo

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 to do that? For example:

-- TODO: Fix this SQL query

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

Solution

  • 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.