Community
Participate
Working Groups
R3.2 and I20060718-0800 (refactoring and Ctrl+T are not affected) I have all relevant methods in source (JDT Text, JDT UI, Platform Text and also JDT Debug and Ant). 1. open AdaptedSourceViewer.doOperation(int) 2. select doOperation in the Outline view 3. search for its declarations in workspace (yes: workspace) ==> BUG: all inherited (super) methods below JDT UI are missing NOTE: if you select the method from a lower plug-in and then do the same you get more and more results the deeper you go. If I select ITextViewer.doOperation then all methods are found. Same scoping bug when searching the declarations in the hierarchy.
JDT UI is setting up the same search, but the scope is 'SearchEngine.createHierarchyScope(type);'
Reproduced. This happens as soon as org.eclipse.jface.text plugin is imported as source: search engine only finds 2 matches although it finds 6 ones when this plugin is imported as binary plugin (or not in workspace). I'll investigate...
Created attachment 48022 [details] Proposed patch
Created attachment 49583 [details] New proposed patch Previous patch was not correct as it searched in prereq project also for fields. This was not correct as polymorphic search only concerns methods...
Released for 3.3 M2 in HEAD stream (regression test case was included in the patch).
Verified for 3.3 M2 using build I20060918-0010.