Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 50774 - Add highlight markers to line and block comments
Add highlight markers to line and block comments
Status: NEW
Product: platform
Classification: Unclassified
Component: Action Items
All All
: P3 with 3 votes (vote)
Assigned To: tasklist-issues@contrib
Depends on:
Blocks: 39296
  Show dependency treegraph
Reported: 2004-10-23 21:11 UTC by ericarseneau
Modified: 2009-09-24 15:38 UTC (History)
3 users (show)

See Also:

Edited diff of change (8.49 KB, patch)
2005-01-28 00:45 UTC, Peter Zavadsky
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ericarseneau 2004-10-23 21:11:46 UTC
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
Comment 1 Miloslav Metelka 2004-10-27 18:18:37 UTC
This is what tasklist module is intended to solve.
Comment 2 Peter Zavadsky 2005-01-28 00:45:08 UTC
Created attachment 20018 [details]
Edited diff of change
Comment 3 Peter Zavadsky 2005-01-28 00:46:16 UTC
There is the diff, showing how it is hacked currently in editor.
Please provide an info how it should be done.
Comment 4 _ pkuzel 2005-02-10 09:02:12 UTC
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?
Comment 5 Miloslav Metelka 2005-02-10 10:40:54 UTC
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.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo