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.

Bug 50774 - Add highlight markers to line and block comments
Summary: Add highlight markers to line and block comments
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Action Items (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker with 3 votes (vote)
Assignee: tasklist-issues@contrib
URL:
Keywords:
Depends on:
Blocks: 39296
  Show dependency tree
 
Reported: 2004-10-23 21:11 UTC by ericarseneau
Modified: 2009-09-24 15:38 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
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.