| Summary: | search for a method ref does not work if fully qualified | ||
|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Jeff McAffer <jeffmcaffer> |
| Component: | UI | Assignee: | PDE-UI-Inbox <pde-ui-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | dj.houghton |
| Version: | 3.0 | ||
| Target Milestone: | 3.0 M9 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
The External Plug-in Libraries project is not dependent on any other project in my workspace. So whenever a scoped search (select any Java element - field, method, type) is done, none of the external jars are searched. By adding all the projects in my workspace as required projects on its build path, my searches 'worked'. Moving to PDE so they can create the External Plug-in Libraries project with the necessary dependencies. *** Bug 59503 has been marked as a duplicate of this bug. *** Fixed by doing the following: 1) Reworked 'External Plug-in Libraries' project to use classpath container for libraries added to Java search in Plug-ins view (thus making it dynamic - no manual maintenance required) 2) Added workspace plug-in projects onto the dynamic classpath to support reference searches |
in M7... I have a large number of external jars (I'm using the PDE "add to java search" technology) and when I search for references to methods declared in my source projects, none of the references in the external jars are found. This true if I select the method and hit ctrl-shift-g, use the context menu for references- >workspace or use the flashlight toolbar button/dialog. I have found that if I use the dialog and remove the full qualification of the method (i.e., remove the type name) and search, I do find references. Unfortunately I also find hundreds of other, unrelated methods (this is true with or without "ignore inexact matches" checked).