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 232111 - "Run inspect on.../Run inspect&transform on..." doesn't preselect its hint in the dialog
Summary: "Run inspect on.../Run inspect&transform on..." doesn't preselect its hint in...
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on: 232165
Blocks:
  Show dependency tree
 
Reported: 2013-07-01 21:50 UTC by markiewb
Modified: 2013-08-12 21:33 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Shows the issue (133.53 KB, image/png)
2013-07-01 21:51 UTC, markiewb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description markiewb 2013-07-01 21:50:38 UTC
[ BUILD # : 201307011244 ]
[ JDK VERSION : 1.7.0_21 ]

* enable "static import" hints
* create some code where this hint would be triggered
* ALT-ENTER -> popup with the hint opens
* choose "Run inspect on.../Run inspect&transform on..." -> dialog opens

ACTUAL: the static import hint isn't selected in the inspection dropdown - see
screenshot
EXPECTED: the static import hint is selected in the inspection dropdown (else
the feature "run inspect on" makes no sense)

PS: also happens in build 201307011244
Comment 1 markiewb 2013-07-01 21:51:03 UTC
Created attachment 136565 [details]
Shows the issue
Comment 2 Jan Lahoda 2013-07-03 09:13:27 UTC
I have:
-disabled the subfixes for non-batch hints
http://hg.netbeans.org/jet-main/rev/ad7be834de78
-converted the static import hint to the new API, and made it batch-enabled (for now at least):
http://hg.netbeans.org/jet-main/rev/6f5124e7c684

Currently, the order of fixes will be incorrect (different than before), this will be resolved sfter bug #232165 passes the API review.
Comment 3 markiewb 2013-07-03 19:51:25 UTC
*** Bug 219571 has been marked as a duplicate of this bug. ***
Comment 4 Quality Engineering 2013-07-04 02:20:58 UTC
Integrated into 'main-silver', will be available in build *201307032300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/ad7be834de78
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #232111 (first part): don't show Run Inspec(&Transform) on... sub-fix for no-batch hints.
Comment 5 Quality Engineering 2013-07-16 02:35:38 UTC
Integrated into 'main-silver', will be available in build *201307152300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/92d16785e3e1
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #232111: correct position of the static import fix
Comment 6 Jan Lahoda 2013-07-16 03:00:24 UTC
It should be all done.
Comment 7 markiewb 2013-08-12 21:33:59 UTC
Verified in 201308092300. Thank you!