Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom TODO mark in Eclipse

Tags:

java

eclipse

todo

In a Eclipse a // TODO comment in a Java file marks an area in code as a task for later consideration.

Is there a way to add other expressions that will do the same?

For example if I want to use // myprojectname.

like image 277
richs Avatar asked Feb 04 '09 16:02

richs


People also ask

How do I mark a todo in eclipse?

Managing Tasks An eclipse editor can be used to associate tasks with the file being edited by right clicking on the marker bar and selecting Add Task. In the dialog box that comes up enter the task description and select a priority from the priority drop down list and then click on the OK button.

What is Eclipse task list?

Task List. Use the Task List to view and manage your tasks. If the task list view is not visible, you can open it by navigating to Window -> Show View -> Other... -> Mylyn -> Task List. The Task List contains both "Local Tasks" and shared repository tasks that are stored in a task repository such as Bugzilla or Trac.


1 Answers

Window > Preferences > Java > Compiler > Task Tags

You can add new tags to your heart's content.


NOTE: Why the Eclipse guys made this a Compiler setting is beyond me. It just makes the setting hard for people to find, so it rarely gets customized.

like image 150
benjismith Avatar answered Oct 03 '22 17:10

benjismith