Quickly Opening Files within Your Module Project

One handy feature in Eclipse is the ability to quickly open any file within your project with the Open Resource command. This command works from the Java code editor window

Procedure 3.5. To use the Open Resource command:

  1. Press Ctrl +Shift + R while in any Java file. You'll see the Open Resource dialog box. Start typing any file name and the Open Resource window will find it irrespective of where its located within your project.

  2. You can also use Ctrl + Shift + T within a Java file to open a type, which may reside in any package within your project.

    Figure 3.9. Open Resource Commandimages/download/attachments/144835001/studio_21-version-1-modificationdate-1645038393000-api-v2.png

This is a huge time saver over locating your files in the package viewer or the navigator. Its also handy for finding classes based on a partial name.