Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Task tag cannot be marked as completed, why?

Tags:

eclipse

I have created a task tag TODO by typing //TODO (some text), now I want to mark it as completed but when I right click on it in the Tasks view, the Mark Completed option is grayed out or unavailable. How can I mark it as completed?

Please help me. thanks.

like image 502
migs Avatar asked Sep 30 '14 08:09

migs


People also ask

How do I mark a task complete in eclipse?

If you want your task to be pointing to a piece of code then right-click on the marker bar or the line number of the row and select Add Task.... This will allow you to add a task which can be set to Complete and it will also take you to your code if you double-click on it in Tasks-view.

How do I show tasks in Eclipse?

Click on the Window menu and select Show View → Other. In the filter text box enter Tasks. Under General, select Tasks.

What are Eclipse tags?

Tag is a snapshot of the project state. You can create a tag of the one specified revision or a tag, containing resources of different revisions.


1 Answers

That is a bug in eclipse. You cannot Mark it Completed if you just write it // TODO, you can only mark it completed if you create a task using right click then Add Task.

If you don't want to remove // TODO you can create another task flag Preferences->Java->Compiler->Task for example COMPLETE, then put it after your TODO.

See this thread

like image 58
Ken de Guzman Avatar answered Oct 18 '22 12:10

Ken de Guzman