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.
21 thoughts on “Eclipse Keyboard Shortcuts”
Ctrl+F6 will work. 🙂
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’
thanks again, you are genius
Thank you for this, you saved my life!
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…)
Stumbled upon this blog while looking for comprehensive keyboard binding table for Eclipse. Ctrl+PgUp/PgDn changes focus to previous/next editor respectively..
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
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”.
Great post, just what I was looking for.
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
Thanx for ur help
here is my list of useful eclipse shortcut I would rather say very useful and practical eclipse shortcut 🙂
FIX Protocol tutorial
Thanks a lot !!!
thx! thats good!
Thank you so much!!! You saved my nerves…
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
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.