Most of Java developers are using eclipse and its been quite trivial to know and remember all the shortcuts during the development time. And of course we don’t need all of them. I have been collecting some shortcuts based on the user frequent experiences and the way they develop software. Following TOP 10 Eclipse Shortcuts helps everyone in their happy day coding.
- Ctrl + Shift + O : Organize imports
- Ctrl + Shift + T : Open Type
- Ctrl + Shift + F4 : Close all Opened Editors
- Ctrl + O : Open declarations
- Ctrl + E : Open Editor
- Ctrl + / : Line Comment
- Alt + Shift + R : Rename
- Alt + Shift + L : extract to Local Variable
- Alt + Shift + M : extract to Method
- F3 : Open Declaration
Adding your list
Ctrl + Shift + R: Open Resource
Ctrl + Alt + H: Show Caller and Callee hierarchy of a Java method
Ctrl + Shift + G : Find Uses
Ctrl + G : Find Implementations
Ctrl + L : Go to line
Ctrl + Shift + W : Close all Opened Editors, but one hand only
Ctrl + Shift + R : Open Resource
‘select text’ + CTRL + H : Search that text across workspace, selected resource, project)
‘select text’ + CTRL + F : search that text across the file
CTRL + J : search as you type (as in firefox)
Ctrl + M (toggle maximize current panel)
How about Ctrl + Shift + F for formatting.
Thanks Atif, Mou, Brisssou, Phillip & Gordon for your valuable addition. I appreciate it.
Alt + left arrow: Jump to the last viewed location
Alt + right arrow: Jumps back to previously viewed location
Ctrl + F6: Cycle around open editors
Ctrl + 1 : For quick assist
Ctrl + M : Minimize and Maximize The Editor
Ctrl + 1 : Open suggestions Dialog for Errors and warnings
Ctrl + Shift + w : close all Editors
Ctrl + D: Delete line
Ctrl + Alt + Arrow up/Down: Duplicate current line
Ctrl + Shift + S: Save All
“select method” + Ctrl + T – show implementation
ALT + arrow to move one or more rows of code up or down
ALT + SHIFT + J to auto create javadoc – developers, please create javadoc.
ALT + SHIFT + X for more quick shortcuts
I personally like ALT+SHIFT+X, to run Java Application
ALT+SHIFT+Q, to run ant build
here is my list of useful eclipse shortcut I would rather say very useful and practical eclipse shortcut
Thanks
Javin Paul
FIX Protocol tutorial