Eclipse shortcuts

A lot of you guys is using Eclipse IDE in your everyday coding life. Do you use Eclipse shortcuts? If not, it’s time to start! You will save a lot of time and energy when you learn some of them. For us, these are the You-Must-Know Eclipse shortcuts.

ITCuties - Eclipse shortcuts

ITCuties – Eclipse shortcuts

Ctrl + Shift + O Adds necessary and removes unnecessary imports from the Java source file.
Ctrl + Space Code completion like showing available methods for a given class instance.
Ctrl + O Shows an outline of the currently displayed class.
Ctrl + T Show the inheritance of a Java class.
Ctrl + Shift + F Auto-format source code.
Ctrl + Shift + T Opens the Type dialog where you will find all the available classes in the project CLASSPATH.
Ctrl + Shift + R Opens the Resources dialog, like configuration XML files and other text files.
Ctrl + Shift + G Find all the references of a class in the Workspace. Remember to select the class name first :)
Ctrl + Alt + Z Wrap code in a try/catch block.
Alt + ← Go to the previous place where the cursor was placed.
Ctrl + Q Go to the last edited line in a source file.
Ctrl + D Delete line.
Ctrl + F11 Run last launched program.

3 Responses to "Eclipse shortcuts"

  1. Charles says:

    the five final tips i still didn’t know, thanks.

    Reply
  2. Krzysiek says:

    One Ring to rule them all, One Ring to find them,
    One Ring to bring them all and in the darkness bind them.

    Ctrl+Shift+L
    and once again Ctrl+Shift+L
    //Eclipse Kepler tested

    Reply

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply to Charles Cancel reply

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


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>