Search code examples
javaeclipsetodo

Eclipse tasks is empty


I'm using Eclipse (Helios) and I added some tasks in my java classes, using

// TODO: blah blah.

Near the line counting, I have the little icon that indicates the tasks is recognized but I can't see them in the Tasks view (I tried the tasks view and Task list view they're empty).

However, when I add a Task by right clicking near the line counting and choosing "Add a task", this new one appears in the "Tasks" view correctly!

What am I missing to make this work?


Solution

  • First, check the corresponding task tags defined in preferences: use the Preference page General/Editors/Structured Text Editors/Task Tags, and make sure, the corresponding tag is available.

    Then, check the Tasks view content settings: open the view menu (white triangle next to the minimize and maximize icons), and select the option Configure contents. The most important things to check are the selected configurations on the left side and the scope settings on the right side.

    EDIT: the Task list view is contributed by Mylyn, and does not use the task tags defined in the source.