Eclipse Must Know Shortcuts

eclipse must to know shortcuts featured image

Eclipse Must Know Shortcuts:

Any Programmer mainly Java/PHP developers very well aware of the great development tool Eclipse.As a developer knowing the keyboard shortcuts makes us unique and also help us speed up the work/task to improve our performance gradually. Today we are going to see all the important shortcuts that all the developers must know. These shortcuts are common for almost all the eclipse version even for the different programming languages [Java/PHP], may be it may have very little different. Below are the eclipse must know shortcuts, add anything I missed or modify if anything wrong in the comments section…

S. NoDescriptionShortcut
1To organize the importsCtrl+Shift+o
21. To find the class in the workspace / to open the Resource [File]
2. To find the class from the Jar
3. To open the method
4. To Move to all the methods forward direction/reverse direction
1. Ctrl+Shift+R
2. Ctrl+Shift+T
2. Ctrl+O
3. Ctrl+Shift+UpArrow /
31. To Remove the current line
2. To go to the particular Line
1. Ctrl+D
2. Ctrl+l
4To format the code blocks [Select it- full file(Ctrl+A)/particular section]Ctrl+Shift+F
51. To find the match for the similar word in the same file in forward direction/reverse direction
2. To find and replace
3. Incremental search in forward direction/reverse direction
4. To search the References of the class
1. Ctrl+K/Ctrl+Shift+K
2. Ctrl+F (Find)
3. Ctrl+J/Ctrl+Shift+J
4. Ctrl+Shift+G
6To Navigate to Previous file/Next File [Also in the same file next/previous edited lines]Alt+Left Arrow /
Alt+Right Arrow
71. To switch between the editors in forward direction/reverse direction
2. To change/switch the perspective [Java/J2EE/Debug]
3. To switch between the views [servers/breakpoints/debug/editor/search etc.,]
1. Ctrl+PageUP / Ctrl+PageDown
2. Ctrl+F8 / Ctrl+Shift+F8
3. Ctrl+F7 / Ctrl+Shift+F7
8Navigating between warnings/Erros in forward directionCtrl+.
9To open the list of editor files (Searching from the already opened editor files)Ctrl+E
101. To go to the opening/closing bracket [To find the closing bracket of the method/class]
2. To go to the last modified place
1. Ctrl+Shift+P
2. Ctrl+Q
11To select the codes inside the bracketAlt+Shift+[Up Arrow]/[Down Arrow]
12To change the selection to Upper Case/Lower CaseCtrl+Shift+X/Ctrl+Shift+Y
13To Comment/Uncomment the current lineCtrl+/
141. To add the block comments for the selected codes
2. To remove the block comments
3. To add javadoc comment (for method/class level)
1. Ctrl+Shift+/
2. Ctrl+Shift+\
3. Alt+Shift+J
15To Maximize the editor/current windowCtrl+M
16To search for Quick FixCtrl+1
17To see the call hierarchyCtrl+Alt+H
18To run the application/To debug the applicationCtrl+F11/F11
19To Refactor the selected text Alt+Shift+R
201. To go the selected method/class declarations
2. Type hierarchy for a particular class
3. Switch back to editor window
1. F3
2. F4
3. F12
21To generate Getters/Setters [Select the variable]Alt+Shift+S+R
22To open the eclipse shortcut listings windowCtrl+Shift+L
23To save a file / Save all the filesCtrl+S/Ctrl+Shift+S
24To open available methods/variable names and suggestionsCtrl+Space
251. To close the current file
2. To close all the files
1. Ctrl+W / Ctrl+F4
2. Ctrl+Shift+W / Ctrl+Shift+F4


463 total views, 1 views today

Leave a Reply

Your email address will not be published. Required fields are marked *