Monday, March 9, 2009

20 very useful Eclipse IDE Shortcuts for Developers

Eclipse have been my favorite Java IDE since I started coding in  Java. Shortcuts makes life very easy when you are working with any IDE.  Eclipse also comes with lot of shortcuts that makes like of a developer  easy.

Following are few shortcuts of my choice.

     
  1. Ctrl + Shift + O : Organize imports
  2.  
  3. Ctrl + / : Line Comment
  4.  
  5. Ctrl + Shift + T : Open Type
  6.  
  7. Ctrl + O : Open declarations
  8.  
  9. Ctrl + E : Open Editor
  10.  
  11. Ctrl + Shift + F4 : Close all Opened Editors
  12.  
  13. Alt + Shift + R : Rename
  14.  
  15. Alt + Shift + L : Extract to Local Variable
  16.  
  17. Alt + Shift + M : Extract to Method
  18.  
  19. F3 : Open Declaration
  20.  
  21. Alt + Shift + X : Run As…
  22.  
  23. Alt + Shift + D : Debug As…
  24.  
  25. Alt + Shift + W : show the class in the package view.
  26.  
  27. Ctrl + T : Type hierarchy
  28.  
  29. Ctrl+Q : Last edit
  30.  
  31. Alt + Left or Alt + Right : Navigate Left and Right
  32.  
  33. Ctrl + 1 : Quick Fix
  34.  
  35. Ctrl + Space : Content Assist
  36.  
  37. Alt + Shift + F : Format code
  38.  
  39. Alt + Shift + S + R : Generate getter and setter methods