Community
Participate
Working Groups
If I have the following method: public void foo(String myString) { ... System.out.println(myString); ... } If I select "myString" on the println statement, and choose Search->References->Workspace It actually searches for all references to type "String". All I really wanted was all references to that parameter in that method.
Local variable/parameter references are not currently supported. 2 parts in the problem: 1- open on selection (used to find the actual selected element) does not find anything, since it cannot answer a Java element for a local declaration. 2- the search engine does not know how to find references to local variables (yet). It could quite easily providing (1) was resolved.
*** Bug 32237 has been marked as a duplicate of this bug. ***
should work now, please double check and dispose
JDT/Core part is fixed. UI side still needs to be fixed (see bug 45448) *** This bug has been marked as a duplicate of 43967 ***