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 127802 - "Add @Override Annotation" hint usually not available from Alt-Enter
Summary: "Add @Override Annotation" hint usually not available from Alt-Enter
Status: RESOLVED DUPLICATE of bug 110147
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2008-02-19 23:52 UTC by Jesse Glick
Modified: 2008-03-13 14:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2008-02-19 23:52:49 UTC
In 5f76e28f65f3 on Linux, JDK 6. When I have a class missing @Override on some overriding methods, most of the time the
green "Override" annotation is on top in the editor gutter with the yellow "Warning" annotation invisible. So I can see
the yellow underline indicating that @Override is missing, but Alt-Enter does nothing. I can only make the hint visible
by clicking with the mouse in the gutter, but I would have to repeat this for every such occurrence, which is quite
tedious and forces me to use the mouse.
Comment 1 Daniel Prusa 2008-03-07 15:44:15 UTC
This is a general problem, a hint can be invoked by Alt-Enter only if "Bulb" annotation is on top in the gutter. It does
not work also when it is hidden by e.g. breakpoint annotation.
Comment 2 Jesse Glick 2008-03-07 16:33:05 UTC
Right, I think hints should be put on top in general. Or simply make Alt-Enter work even if the hint is not displayed on
top.
Comment 3 Jan Lahoda 2008-03-13 14:11:26 UTC

*** This issue has been marked as a duplicate of 110147 ***