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.
I invoked Find Usages. After awhile new Find Usages view opened. I wanted to see/modify usages in editor. I intuitively pressed Ctrl+Alt+Down then tried F12. Nothing happened. I have to double-click on found usages by mouse taking focus from editor. Talking with Dusan (Shift)F12 must ultimately work from editor (if usages visible) and result view itself.
Find usages action is not usable comparing to other IDEs. The workflow is somewhat broken.
The closest workaround is: Ctrl-Alt-F, Down, Enter
Created attachment 20628 [details] Implementation template
Attached code from tasklist, it uses ugly reflection and deprecated methods but current OpenAPIs does not allow to implement it nicely AFAIK.
Added dependency on issue #40185. If implemented no reflection needed.
CCing responsible UI engineer (dpavlica).
Looks like duplicate of issue 50953
Jarda asks us to not use reflection. He will enable us to implement this without reflection (most likely by fixing issue 40185).
*** Issue 50953 has been marked as a duplicate of this issue. ***
Jarda added patch, which should allow us to fix this issue. I'll look at it.
Created attachment 20944 [details] Proposed patch. Requires jarda's patch from issue 40185
Created attachment 20991 [details] F12 patch - version 2.0
I've integrated the following changes as part of fix for issue 40185: Checking in refactoring/arch/arch-refactoring.xml; /cvs/refactoring/arch/arch-refactoring.xml,v <-- arch-refactoring.xml new revision: 1.15; previous revision: 1.14 done Checking in refactoring/nbproject/project.xml; /cvs/refactoring/nbproject/project.xml,v <-- project.xml new revision: 1.17; previous revision: 1.16 done Checking in refactoring/src/org/netbeans/modules/refactoring/ui/CheckNodeListener.java; /cvs/refactoring/src/org/netbeans/modules/refactoring/ui/CheckNodeListener.java,v <-- CheckNodeListener.java new revision: 1.11; previous revision: 1.10 done Checking in refactoring/src/org/netbeans/modules/refactoring/ui/RefactoringPanel.java; /cvs/refactoring/src/org/netbeans/modules/refactoring/ui/RefactoringPanel.java,v <-- RefactoringPanel.java new revision: 1.48; previous revision: 1.47 done Checking in refactoring/src/org/netbeans/modules/refactoring/ui/RefactoringPanelContainer.java; /cvs/refactoring/src/org/netbeans/modules/refactoring/ui/RefactoringPanelContainer.java,v <-- RefactoringPanelContainer.java new revision: 1.15; previous revision: 1.14
verified