Custom TODO mark in Eclipse

richs picture richs · Feb 4, 2009 · Viewed 49.9k times · Source

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.

Answer

benjismith picture benjismith · Feb 4, 2009

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.