How to Find a File in Eclipse

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.

The traditional way to find a file in Eclipse is to drill down in the Project Explorer, starting at the project level and going down the directory structure until you locate the desired file. Learn how to quickly and easily locate files in Eclipse so that you don't slow down your Java or PHP code development.


Step 1

Press the "Ctrl," "Shift" and "R" keys on your keyboard simultaneously. A pop-up window will open and you can type in the name of the file you wish to find. Eclipse uses intelligent matching. Once it matches the file, just press "Enter." This is the fastest way to find files of any type, including Java and PHP files.


Video of the Day

Step 2

Click "Search" and then click "File" to utilize the Search menu, which is located at the top of the Eclipse application window. This is helpful when you want to do a full text search.

Step 3

Type the text you want to find on the top line of the Search dialogue. On the second line, you can limit the file extensions included in the search. For example, if you only want to search Java files, type "*.java" without the quotes on the second line. This method is not as fast as the one described in the previous step.




references & resources

Report an Issue

screenshot of the current page

Screenshot loading...