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.
Hello, I realized annoying behavior during my daily work. --Use Case-- 1. Start the IDE with clear user dir 2. Create a Java class and invent some static final constant with a name that does not fit to the default pattern defined for constant naming convention, e.g. private static final String constant = "value"; 3. Perform 'Run Inspect on...' USING THE HINT 4. Once inspection is finished hit 'Refresh' from the Inspector view --Actual Result-- The list of scopes contains only one entry - 'Open Projects'. There is no way to re-run the inspector with the same rules for the same file. --Expected Result-- The list of scopes contains all entries, the same which are available in the dialog displayed in the 3rd step - 'Open Projects', 'Open Project (XYZ)', 'Current Package (XYZ)' and 'Current File (XYZ)'. What is more and also important - when the Inspect is executed from menu for the first time (so not from the hint) the list of scopes is full when refreshing. Product Version: NetBeans IDE Dev (Build 201508230002) Java: 1.8.0_60-ea; Java HotSpot(TM) 64-Bit Server VM 25.60-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_60-ea-b25 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Created attachment 155566 [details] The list of available scopes when running the inspector from the hint
Created attachment 155567 [details] The list of available scopes when going to re-run the inspector
reproducible
Fixed in jet-main#c35ba7ffb605
Integrated into 'main-silver', will be available in build *201509100002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/c35ba7ffb605 User: Svata Dedic <sdedic@netbeans.org> Log: #254635: node context saved for possible refresh operation