Search This Blog

Eclipse shortcuts


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.
  1. Ctrl+1 : quick fix at current line 
  2. Ctrl+o : list all methods/variables of the current class
  3. Ctrl+/ : comment/uncomment selected lines (//) 
  4. Ctrl+shift+/ : comment/uncomment selected line/block with block comment (/*... */)
  5. Ctrl+w : close currently open file. 
  6. Ctrl+L : go to line. 
  7. Ctrl+d : delete the line. 
  8. Ctrl+f : find, find/replace in file. 
  9. Ctrl+h : search in workspace/project. 
  10. Ctrl+shift+r : open resources. 
  11. Ctrl+shift+f : auto formatting. 
  12. Ctrl+shift+g : reference of selected method in workspace. 
  13. Ctrl+shift+t : search for class. It looks even into jars. 
  14. Ctrl+shift+o : organize imports( add/remove). 
  15. Ctrl+shift+w : close all the files open in editor. 
  16. Ctrl+shift+h : open call hierarchy. 
  17. Ctrl+b : build all. 
  18. Alt+(left/right arrow key) : to go forward /backward while going through code. 
  19. Alt+enter : to show properties. 
  20. 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..... 

No comments:

Post a Comment