Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In Eclipse, how can you search within a search result?

Tags:

eclipse

"Long live the Unix Pipes".

Since I am working with Eclipse IDE, I would like to perform search within search results. Is that possible? How can I do that?

Ex:

Search for references of User (class). 
  > Search for validation in this result. 
    > Finally, search for specific pattern.
like image 902
rdllopes Avatar asked May 14 '14 09:05

rdllopes


1 Answers

This is possible in Eclipse, well as far as the version I am using which is Eclipse Juno 4.2.2; I've used this extensively for impact analysis.

For example:

  1. Search using "File Search" with criteria "employee" enter image description here
  2. The results will appear in the Tab "Search", assuming you are in the tree view (by default), click the root folder enter image description here
  3. Again, use the "File Search" this time using the 2nd criteria, for example "default" and making sure to click the Selected resources radio button enter image description here

Effectively, this searches the keyword "default" from the previous search results produced by searching "employee".

like image 133
Carlos Jaime C. De Leon Avatar answered Sep 20 '22 17:09

Carlos Jaime C. De Leon