Reputation: 105077
I have been using extensively Ctrl + Shift + to find and open files in my Eclipse project. But sometimes I know the directory where my files are (or part of it) but I don't know exactly their names.
When doing search, it seems it only takes into consideration the name of the files, and not their paths. I'd like to be able to refine the search by path.
For instance, if I have a folder X with 3 files in it, I'd like that typing X would bring up the 3 files, so I could choose them. Or that it'd actually let me select the X folder itself!
Is there a way to do this in Eclipse?
Upvotes: 13
Views: 1846
Reputation: 7923
*X/
to list all files in the folder X
. Ex search: *myDir/myFile
.*
) is required to make the search apply to folders and paths too.Upvotes: 23
Reputation: 797
Here are the implementation notes: https://bugs.eclipse.org/bugs/show_bug.cgi?id=86973
Upvotes: 2