Here we will look for some important shortcut for Eclipse IDE.
Open Eclipse provided shortcut list
Ctrl + Shift +L
It will open the popup window that will contain complete list of shortcuts available in Eclipse IDE.
Search for Resources in Workspace
Ctrl + Shift + R
Open a window to search for Resource in workspace. Expressions(? = any character, * = any string) can be used to search resource.
Search for Type in Workspace
Ctrl + Shift + T
Open a window to search for Type in workspace. Pattern can be used to refine search.
Que: What is the difference between Type and Resource
Type : Language specific files like Classes / Interface / Compiled Modules
Resources : Non Class files like Images / JSP / Property fils etc.
Organize Import in Class File
Ctrl + Shift + O
It will organize import statement in java file. If there is any unused import in file then it will get removed & if there is any missing import statement then it will get added in file.
Show Proposals(Available Options)
Ctrl + Space
Proposals will get displayed with this short cut. There are different proposals available in eclipse all proposals will get displayed with same shortcut but by pressing space button again and again.
Type of Proposal(In order they appear)
- Default Proposal
- Template Proposal
- SWT Template proposal
- Basic Proposals
- JAXB Proposals
- JPA Proposals
- Java proposals
Run Java Application
Ctrl + Shift + X, J
This shortcut can be used to run any Java application. There are several other options available to run. To Run on server use R instead of J.To run Java Applet use A instead of J.
Debug Java Application
Ctrl + Shift + D, J
This shortcut can be used to debug any Java application. There are several other options available to debug. To Run on server use R instead of J.To run Java Applet use A instead of J.