Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to refresh "Tasks" in Eclipse?

Tags:

eclipse

task

I inherited a program with a lot of //TODO: messages, which i expected would show up under Tasks.

Unfortunately, that pane is empty. Is there a way to refresh it for the current project?

like image 430
James Raitsev Avatar asked Sep 28 '11 18:09

James Raitsev


2 Answers

The tasks tags in *.java files are scanned automatically by Eclipse compiler. You can simply refresh your project and then click on the Project / Clean... menu. Also check that task tags are not disabled in the project settings under Java Compiler / Task Tags and your Tasks or Markers view in Eclipse configured to show tasks for an entire project and not only selected element.

like image 194
Eugene Kuleshov Avatar answered Nov 18 '22 11:11

Eugene Kuleshov


There are two different views in eclipse. One is Tasks and the other is Task List. The latter shows build tasks using Mylyn. So for those who are looking for TODO list in java, please open Tasks in General view. Do a project clean if the list is empty.

like image 1
LokiDroid Avatar answered Nov 18 '22 11:11

LokiDroid