Eclipse Keyboard Shortcuts

I hate my mouse, I love ALT-TAB in Windows, Homesite gives you CTRL-TAB to effectively switch between open files but I couldn’t figure out a way to the do the same thing in Eclipse. Turns out Eclipse functions more like IE in that each file you view becomes part of your viewing ‘history’. To switch between files, you can use ALT-LEFT ARROW or ALT-RIGHT ARROW just like you can in Internet Explorer to go BACK and FORWARD. Nifty.

This entry was posted in Software Development. Bookmark the permalink.

21 Responses to Eclipse Keyboard Shortcuts

  1. guest says:

    Ctrl+F6 will work. :)

  2. TheDane says:

    I love that feature (Ctrl+Tab, Ctrl+F6 is too clumsy) too, so I just overloaded it in Eclipse:

    Window -> Preferences -> Workbench -> Keys -> Window -> Next Editor

    Similar for ‘Previous Editor’

  3. CtrlTabForAllApplications says:

    Thank you for this, you saved my life!

  4. ThankGodForBlogs says:

    Me too – thanks! (Why on Earth do they map it by default to CTRL-F6?? It’s not exactly handy for the most common window operation…)

  5. ML says:

    Stumbled upon this blog while looking for comprehensive keyboard binding table for Eclipse. Ctrl+PgUp/PgDn changes focus to previous/next editor respectively..

  6. In my version of eclipse I had ‘General’ rather than ‘Workbench’ (maybe it’s because I’m using the Sonic Workbench, which is built on eclipse):
    Window -> Preferences -> General -> Keys -> Window -> Next Editor

  7. Sandeep Giri says:

    You can set it also.
    Window->Preferences->General->Keys and select “Next Editor”.
    Now select the text in “Binding” textbox using mouse and do right Click and “Cut”. Now the Binding box would be blank.
    Now, press CTRL key and Tab togather and press “OK”.

  8. cpomp says:

    Great post, just what I was looking for.

  9. C.Gleerup says:

    thank you, I was really getting pissed about hitting ctrl-tab repeately and nothing happended :)
    WHY do the eclipse team not use a key probably a lot of users are used to

  10. Anand Agrawal says:

    Hi TheDane,

    Thanx for ur help

  11. Javin Paul says:

    here is my list of useful eclipse shortcut I would rather say very useful and practical eclipse shortcut :)

    Thanks
    Javin Paul
    FIX Protocol tutorial

  12. Aram says:

    Thanks a lot !!!

  13. André says:

    thx! thats good!

  14. Akabelle says:

    Thank you so much!!! You saved my nerves…

  15. travers says:

    I’ve bound ctrl+tab to the ‘next editor’ function in eclipse, but still not totally satisfied.
    when i release the ctrl button it doesn’t switch to the editor i’ve selected until I hit enter… sooo annoying… I wish I didn’t have to hit ENTER after ctrl+tab’ing through my list of open files… blah

  16. eran says:

    for me alt + arrow also opened the last file i’v already closed so i found that if I press
    ctrl+shift+tab now underline added to the tab . After that you can just press shift + left arrow or right arrow and this will do the work perfectly.

  17. john says:

    Thank You!

Leave a 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>