Cyril N.
Cyril N.

Reputation: 39859

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?

Upvotes: 2

Views: 4453

Answers (8)

Kagg
Kagg

Reputation: 1

On a Maven project Maven/Upddate Project filled up the Tasks window will all the TODO items

Upvotes: 0

binarybelle
binarybelle

Reputation: 71

I cleaned the project and they still weren't showing...however, when I went to another tab, and came back, there they were.

Upvotes: 0

Oban
Oban

Reputation: 1

same issue but I found this in Juno : One must have the "make target" view opened, and here the project highlighted. At this moment, the Tasks panel (not "task list") will show the filtered TODOs for the only project

Upvotes: -1

TheLeester
TheLeester

Reputation: 51

I tried all of the above and still my TODO's were not appearing on the Task view. Finally I ran Project->Clean and they did appear. Hoorah.

Upvotes: 5

Lucio Paiva
Lucio Paiva

Reputation: 20756

For those who are still having this problem, my case was that I was looking for my tasks in the TASK LIST view. I just had to open the correct view, i.e., the TASKS view. I know the author of the question mentioned that, but I missed it the first time :P

Upvotes: 8

Jaan Oras
Jaan Oras

Reputation: 204

Task list is built on project build phase, so if you have any problems that prevent build, for example build path problems, then the task list is not populated.

Check Problems tab for build problems.

Upvotes: 4

Vince.Wu
Vince.Wu

Reputation: 890

see this, I've meet this problem recently and finally I found it's because that I import the project as maven project, the problem was solved after I run mvn eclipse:eclipse under the project dir and reimport the project as java project, hope this will be helpful for you.

Upvotes: 1

Zoltán Ujhelyi
Zoltán Ujhelyi

Reputation: 13858

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.

Upvotes: 3

Related Questions