In a eclipse a "//TODO" 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".
In a eclipse a "//TODO" 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".
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.
The answers by benjismith and j pimmel are perfectly valid and correct. I just want to add that you can find this and other settings by using eclipse's neat preference-dialog feature:
When you open the preferences dialog via "Window/Preferences", type "todo" in the text field in the upper left corner. The options tree will be limited to matching settings.
Voilá