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 51973 - Deprecated annotation (warning annotation)
Summary: Deprecated annotation (warning annotation)
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords: USABILITY
Depends on:
Blocks:
 
Reported: 2004-12-01 15:08 UTC by Milan Kubec
Modified: 2007-11-05 13:39 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2004-12-01 15:08:19 UTC
It would be very useful if editor would show
something like deprecated annotation, similar to
error annotation but in different color. Or in
more general way - warning annotation - that would
underline any warnings in code.
Comment 1 Roman Strobl 2004-12-07 14:42:57 UTC
Changing subcomponent to annotations.
Comment 2 ats37 2006-09-25 18:23:36 UTC
Hasn't this been done?  I'm currently editing a java source file in NB 5.0 that
contains a call to a deprecated method, and can see a "yellow X" warning
annotation in the left margin with corresponding yellow bar in the error stripe
on the right.  Hovering the mouse over the annotation produces a popup box with
a message along the lines of
"warning: [deprecation] obsoleteMethod() in foo.bar.ThatClass has been deprecated"

The only thing it lacks is for the popup to also display the text that follows
the @deprecated tag in ThatClass.obsoleteMethod()'s javadocs, telling me what I
should now be using instead.
Comment 3 Vitezslav Stejskal 2007-07-19 13:45:48 UTC
Already done.