Below are the few shortcuts which i found very useful while using Eclipse and thought would be helpful for the readers out there reading this tutorial.
- Ctrl+1 : quick fix at current line
- Ctrl+o : list all methods/variables of the current class
- Ctrl+/ : comment/uncomment selected lines (//)
- Ctrl+shift+/ : comment/uncomment selected line/block with block comment (/*... */)
- Ctrl+w : close currently open file.
- Ctrl+L : go to line.
- Ctrl+d : delete the line.
- Ctrl+f : find, find/replace in file.
- Ctrl+h : search in workspace/project.
- Ctrl+shift+r : open resources.
- Ctrl+shift+f : auto formatting.
- Ctrl+shift+g : reference of selected method in workspace.
- Ctrl+shift+t : search for class. It looks even into jars.
- Ctrl+shift+o : organize imports( add/remove).
- Ctrl+shift+w : close all the files open in editor.
- Ctrl+shift+h : open call hierarchy.
- Ctrl+b : build all.
- Alt+(left/right arrow key) : to go forward /backward while going through code.
- Alt+enter : to show properties.
- Ctrl+shift+L : To list all the shortcuts of eclipse. Pressing L twice will let you configure the shortcut.
Hope these shortcuts are beneficial for you.
Enjoy Coding.....
Enjoy Coding.....
No comments:
Post a Comment