20 very useful Eclipse IDE Shortcuts for Developers

eclipseEclipse 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. Ctrl + / : Line Comment
  3. Ctrl + Shift + T : Open Type
  4. Ctrl + O : Open declarations
  5. Ctrl + E : Open Editor
  6. Ctrl + Shift + F4 : Close all Opened Editors
  7. Alt + Shift + R : Rename
  8. Alt + Shift + L : Extract to Local Variable
  9. Alt + Shift + M : Extract to Method
  10. F3 : Open Declaration
  11. Alt + Shift + X : Run As…
  12. Alt + Shift + D : Debug As…
  13. Alt + Shift + W : show the class in the package view.
  14. Ctrl + T : Type hierarchy
  15. Ctrl+Q : Last edit
  16. Alt + Left or Alt + Right : Navigate Left and Right
  17. Ctrl + 1 : Quick Fix
  18. Ctrl + Space : Content Assist
  19. Alt + Shift + F : Format code
  20. Alt + Shift + S + R : Generate getter and setter methods
Get our Articles via Email. Enter your email address.

You may also like...

12 Comments

  1. Apurva Vyas says:

    Thaks,

    Its very usefull…………………………….. :)

  2. Sanjay Jain says:

    Hello Viral
    Really a nice & use full information for any Eclipse user
    I want to add only one more in this
    Alt + Shift + L For see all the Short Cuts of the eclipse

  3. Sanjay Jain says:

    Hello Viral
    Really a nice & use full information for any Eclipse user
    I want to add only one more in this
    Sorry Please discard my last comment Because it is
    Ctrl + Shift + L For see all the Short Cuts of the eclipse

  4. santhosh R says:

    sUperb…….. ;)

  5. rajshekar says:

    thanks sanjay jain

  6. kode says:

    I am using Eclipse from not long ago and I will add some shortcuts to my list:

    http://kdelchev.com/2012/02/netbeans-eclipse-pdt-shortcuts-comparison/

  7. kode says:

    There should be comment edit

    One of your shortcuts:
    Alt + Shift + F : Format code

    is not an Eclipse one. It is NetBeans :)

    Here is my comparation between both IDEs shortcuts
    http://kdelchev.com/2012/02/netbeans-eclipse-pdt-shortcuts-comparison/

  8. Nano says:

    Nice tips. I use Ctrl + PgU p/ PgDown frequently to navigate tabs in eclipse.

  9. jagan says:

    Really useful tutorial , keep doing the good work.., Thanks.

  10. Prashant says:

    Very useful short cuts. thanks a lot.
    I found below shortcuts to interesting…
    Ctrl + / -> Line comment add, remove & Even blk. (inserts //)
    Ctrl + Shift + / (\) -> Block comment add, remove (inserts /* */)
    Ctrl + Shift + R -> Find resource
    Alt + Shift + J -> Add Java Doc Comment

  11. Niranjan says:

    what is the use of this shortcut Ctrl+Shift+D please tell me

  12. there is a small mistake in 19th point.

    To format the code we use Ctrl + Shift + F
    not Alt +shift + F
    :)

Leave a Reply

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