How to search all files in a project in Eclipse

According to the book that I am (Eclipse for juvenile geniuses or something like that), you can search a set of files by selecting them and then selecting Search | Files.

This does not work for me, even when I have selected the "Selected resources" radio button. Instead, it scans each file in the Package Explorer, which contains several projects, including Android APIDemo (massive).

Is there a way to select all the files in the project (except for clicking in turn) and then limit the search operation to only these files?

+4
source share
3 answers

When I select only the node project in the package tree and select the "Selected resources" radio button, it searches for all the project files in my version of Eclipse.

You can also select an arbitrary file in the project and select "Closing Project".

+6
source

Not sure if this is what you are looking for, but it’s possible to create some work sets and then only search through this work set.

enter image description here

+4
source
  • use Ctrl + Shift + R (i.e. Open Resource Popup).
  • enter the file name in txt Box, for example. *.jsp, scr
+2
source

Source: https://habr.com/ru/post/1388219/


All Articles