문제

"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.
도움이 되었습니까?

해결책 2

Is it really required?. If you are searching any key in the search results then why don't you use it as search key in previous search itself?.

Eclipse search supports regular expression so you can use multiple search words likes key1 or key2 or key1 and key2 etc to narrow the search results.

Refer this Eclipse File Search Dialog - Regular Expression for Group Unions and Negation


However

You can search in search results with the help of some plugins check here. Take a look at Insta search and glance(Suites for your need) plugin.

Search result can also be exported with the help of this plugin

다른 팁

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".

You cannot. And I am 99% sure of this. But, just for your info, you can do reference search by pressing Cntrl + G on class name, or method name.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top