Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 59286

Summary: Allow searching all places in a project where it references a particular plugin
Product: [Eclipse Project] PDE Reporter: Ondrej Chylik <ondrej.chylik>
Component: UIAssignee: PDE-UI-Inbox <pde-ui-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: caniszczyk, curtis.windatt.public, jeffmcaffer
Version: 3.0Keywords: helpwanted
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Ondrej Chylik CLA 2004-04-20 12:02:18 EDT
When using "Compute dependency extent" functionality in plug-in manifest 
editor, a list from the target plugin is presented. But at that point it is not 
possible to search for all the references to these classes in my plugin project 
(which I'd find useful most of the time). Instead I may only search references 
to one particular class (or interface or extension point) from the list.

The use-case "search for all places in my project where it references plugin 
x.y.z" is not easily doable (or I do not know the correct way).
Comment 1 Wassim Melhem CLA 2004-05-20 04:40:55 EDT
What you are asking for is already available.

When you get the full list of classes/interfaces, right-click on the entry 
that you want in the search view and choose "Find references in plugin x.y.z" 
from the context menu.
Comment 2 Ondrej Chylik CLA 2004-05-20 05:57:09 EDT
I know about this feature but that's not enough for what I asked for.

To clarify - let's say I have plugin org.myplugin, which depends on plugin 
com.otherplugin and uses OtherClass1 and OtherClass2 from it.
What I want to find out is all places in org.myplugin, which reference 
OtherClass1 _and_ OtherClass2.

Using Compute Dependency Extent shows me a list of "OtherClass1, OtherClass2". 
What I can do now with the functionality that's already present is search for 
references from org.myplugin to OtherClass1 _or_ OtherClass2.

Generalize on arbitrary number of classes (or extension points, which are also 
dependencies shown by ComputeDependencyExtent).

I fail in my use-case to show "all places in org.myplugin, which reference 
(depend on) com.otherplugin". I'm only able to look the dependencies on a 
single resource (class, ext. point) from com.otherplugin.
Comment 3 John Wiegand CLA 2004-06-10 21:37:36 EDT
Feature request is valid, but not for 3.0 (M9 target is from Wassim's initial 
WORKSFORME annotation)
Comment 4 Curtis Windatt CLA 2011-06-07 15:58:37 EDT
This bug has not been considered in many years.  Closing as WONTFIX.  Please reopen if you are interested in contributing a patch.