Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368527 - [search] Allow search for references in workspace to start from multiple selection
Summary: [search] Allow search for references in workspace to start from multiple sele...
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.8   Edit
Hardware: All All
: P5 enhancement (vote)
Target Milestone: 4.6 M7   Edit
Assignee: Sarika Sinha CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 477340
  Show dependency tree
 
Reported: 2012-01-13 05:13 EST by Robin Rosenberg CLA
Modified: 2016-04-22 05:49 EDT (History)
3 users (show)

See Also:
daniel_megert: pmc_approved+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Rosenberg CLA 2012-01-13 05:13:00 EST
I want to for example mark more all constructors in the outline and search
for all of them, but the search menu is only available for a single selection.
Comment 1 Dani Megert CLA 2012-01-13 06:25:16 EST
Until this bug is fixed you might want to use 'Open Call Hierarchy' (Ctrl+Alt+H).


Fixing this would not just mean to allow starting the search but also group the results similar to the Call Hierarchy view.
Comment 2 Markus Keller CLA 2012-01-13 06:34:22 EST
Workaround to search for references to all constructors: Select the enclosing type in the outline, open the Java Search dialog, and then change the "Search For" option to "Constructor".
Comment 4 Noopur Gupta CLA 2016-04-21 06:53:07 EDT
Thanks for the patch, Sarika.

Fixed minor issues like changing 'if' statements to block, changes to conditional expressions and removing extra whitespaces with:

http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=be85879cb90acfcb832c6e18c6f84d556978ee24
Comment 5 Dani Megert CLA 2016-04-22 05:28:36 EDT
(In reply to Noopur Gupta from comment #4)
> Thanks for the patch, Sarika.
> 
> Fixed minor issues like changing 'if' statements to block, changes to
> conditional expressions and removing extra whitespaces with:
> 
> http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=be85879cb90acfcb832c6e18c6f84d556978ee24
> 

For the records: This change added API after the freeze. An API change request should have been sent to the PMC mailing list. Anyway, I looked at the change and since the class is not intended to be subclassed by clients, the change is not problematic. I hereby approve the addition.
Comment 6 Dani Megert CLA 2016-04-22 05:49:26 EDT
(In reply to Dani Megert from comment #5)
> (In reply to Noopur Gupta from comment #4)
> > Thanks for the patch, Sarika.
> > 
> > Fixed minor issues like changing 'if' statements to block, changes to
> > conditional expressions and removing extra whitespaces with:
> > 
> > http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=be85879cb90acfcb832c6e18c6f84d556978ee24
> > 
> 
> For the records: This change added API after the freeze.

Sorry my bad! The API addition *was* sent to the PMC list and approved via bug 477340.