This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I would like to see comments such as // TODO My stuff here And have the TODO be highlighted. The ideal would be to allow the user to define list of these highlight markers, as well as being able to set the colors. I've implemented this on the cheap for Rave. Will be sending diff's on cdp-rave
This is what tasklist module is intended to solve.
Created attachment 20018 [details] Edited diff of change
There is the diff, showing how it is hacked currently in editor. Please provide an info how it should be done.
My implementation proposal is to use annotations for this purpose. They works in all editor types. Attached patch requires that *all* editor syntaxes are TODO markers aware. Mila what do you suggest here?
Yes, I agree with Petr K. The JavaSyntax should track lexical language elements which TODOs are not. The highlight should be performed by adding an annotation.