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.
[ BUILD # : 201110260600 ] [ JDK VERSION : 1.6.25 ] Search from Base doesn´t find anything.
Created attachment 112486 [details] Test-Project Try at the following project: -) Go to TestImpl.java -) Select the method "findSomething" ant press Alt-F7 -) "Search from Base Class [ITest]" is selected by default. -) Klick on Find -> You get the message "No Patterns Found". Second test: -) Go to interface "ITest.java" -) Select the method "findSomething" ant press Alt-F7 -) Klick on Find -> The class "MyUsageOfTest.java" is found
This is rather usability issue than functional defect. The problem is, that if I select Find Usages "Custom Scope" is preselected, and this scope is empty. If I switch to all open projects all usages are found.
(In reply to comment #2) > This is rather usability issue than functional defect. I don´t think so. At NB7.0.1 it works as expected. > The problem is, that if I select Find Usages "Custom Scope" is preselected, and > this scope is empty. "Current Project (TestFindUsages)" is preselected at my NetBeans. I´ve tested this options: -) "Current Project (TestFindUsages)" doesn´t find the Usage -> Wrong -) Open Project finds the Usage -> Correct -) "Current Package (com)" doesn´t find the Usage -> Wrong -) "Current File (TestImpl.java)" doesn´t find the Usage -> Correct -) "Custom Scope..." (I´v selected all opened Projects) doesn´t find the Usage -> Wrong
Thanks for the test case. The find from base class is indeed not working when a different scope then "open projects" is selected.
fixed in jet-main http://hg.netbeans.org/jet-main/rev/2899b8bd53d5