29

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 -->
Svish
  • 152,914
  • 173
  • 462
  • 620

4 Answers4

31

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.

nitind
  • 19,089
  • 4
  • 34
  • 43
  • Didn't find a way to add SQL files to that list, but got it activated for XML files at least :) – Svish Sep 27 '11 at 07:53
8

checkbox to activate :

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

laurent
  • 81
  • 1
  • 1
3

Because a picture worth a thousand words :

enter image description here

Sangimed
  • 900
  • 8
  • 16
1

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

Add Task... screenshot

IvanRF
  • 7,115
  • 5
  • 47
  • 71