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 181061 - "Add All @Override Annotations" hint
Summary: "Add All @Override Annotations" hint
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal with 3 votes (vote)
Assignee: Jan Lahoda
URL:
Keywords:
: 203974 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-02-22 23:07 UTC by Vladimir Voskresensky
Modified: 2013-02-08 20:58 UTC (History)
1 user (show)

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 Vladimir Voskresensky 2010-02-22 23:07:31 UTC
It would be useful to have 
"Add All @Override Annotations" together with "Add @Override Annotation"
similar to 
"Remove All Unused Imports" for "Remove Unused Import"

Thanks,
Vladimir.
Comment 1 apollock 2012-04-23 11:09:07 UTC
Is anything else happening with this? The target milestone has been and gone.
Comment 2 Vladimir Voskresensky 2012-04-23 13:56:03 UTC
there is an inspect & transform now for different scopes (including file), but action in hints is still missing.
Jan, is it possible to add such hint?
Comment 3 Jan Lahoda 2012-04-23 14:55:21 UTC
The plan is to add "subfixes" (similarly to the Disable or Add Suppress Warnings) that would invoke the Inspect&Transform or Source/Inspect. Its unclear when someone will actually be able to implement that, though.
Comment 4 apollock 2012-04-23 16:02:58 UTC
This may be rather naive, but is it not easy to add in the mean time using a method similar to how "Remove all unused imports" is performed, until it can be updated to use subfixes once they are implemented?
Comment 5 Jan Lahoda 2012-06-28 20:04:37 UTC
I have added the sub-fix to the trunk, which is going to be future NetBeans 7.3:
http://hg.netbeans.org/main-silver/rev/f3cd3fb5278f
Comment 6 Quality Engineering 2012-06-29 04:49:07 UTC
Integrated into 'main-golden', will be available in build *201206290002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f3cd3fb5278f
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #181061: ability to easily open Source/Inspect or Inspect&Transform dialogs from a warning's subfix menu.
Comment 7 Jesse Glick 2013-02-08 20:58:21 UTC
*** Bug 203974 has been marked as a duplicate of this bug. ***