How to search Java, JSP file in Eclipse IDE?
In Eclipse IDE, you can easily search the Java, JSP and another resource file. To find any file in just type CTRL + SHIFT + T, it will prompt an Open Type dialog box to find any Java classes.
Search Java Class
Let’s assume, you want to search
StringBuffer class of java.lang package, simply type StringBuff in the dialog box.
Click on the class, Eclipse IDE will open that class for you.
Search JSP and other resources
To search JSP file or any other resources, press CTRL + SHIFT + R together, it will prompt an Open Resource dialog box to find any resources like JSP file, PDF, XML, etc from your workspace location.
For example, if you want to open the pom.xml file, just type it in the search box. In my case, I don’t have any JSP file.
Search Java Class Hierarchy
Type CTRL + SHIFT + H to open the hierarchy of any Java classes. Suppose, you want to check the hierarchy of
Collection interface. Type collection in the search box.
Eclipse IDE will open the hierarchy of
Collection interface in Type Hierarchy tab.
- How to change Eclipse IDE theme?
- How to create backup in Windows 7?
- How to show and hide File extension in Windows 7?
- How to import Java Web Project in Eclipse
- How to customize command prompt in Windows 7?