Most Used Shortcuts at Eclipse
You will find most used and usefull Eclipse IDE Shortcuts below.
- Ctrl + Shift + X : Convert to Upper Case
- Ctrl + Shift + Y : Convert to Lower Case
- “sysout”, then Ctrl + Space : System.out.println()
- “main”, then Ctrl + Space : create main method
- “if”, then Ctrl + Space : create if control block
- Alt + Up or Down Arrow : Move lines of text uup or down
- Alt + Shift + Z : surround code with various stuff
- Ctrl + Shift + F : format file
- Ctrl + Shift + O : optimize imports
- Ctrl + / : Comment or uncomment lines of code
- Ctrl + Shift + / : Multi-line block comment
- Alt + Shift + R : Rename variable, method or class
- Ctrl + L : Jump to line
- Alt + shift + M : Extract Method
- Ctrl + D : Delete Line
- Ctrl + Shift + P : Jump to beginning of (), {} or []
- Ctrl + “+”, Ctrl + “-“ : Increase or decrease font size
- Ctrl + Shift + R : Open resource
Good luck.