score:19

Accepted answer

The answer from Csaba_H is right : there is no keyboard shortcut to switch from one editor area to the next. The most you can do through keyboard shortcuts is to switch to "another editor", whatever its area is (left, right, top, bottom... whatever you tiled the area into :p) through the usual shortcuts :

  • next editor : ctrl + F6
  • previous editor : ctrl + shift + F6
  • quick switch editor : ctrl + E

I'll only mention that you can also take a look yourself to all available shortcuts in your Eclipse if you go to Window > preferences and go into the section General > Keys (a shortcut to get there is to use ctrl + shift + L twice).

score:0

I'm not sure if there is something in vanilla Eclipse, but you might want to check out "Emacs+" in the Eclipse Marketplace.

From http://www.mulgasoft.com/ :

"Other Window (Ctrl-X O): Navigate to the previous editor window"

It's not perfect, but it will achieve something close to what you want.

You can also split the window with shortcuts as well.

score:0

Quick Access Ctrl+3 has been very useful in Eclipse.

Otherwise, I know of two external programs that navigate by dividing the screen into smaller chunks, using only your keyboard.

If you're on Windows, you can use Mouser, which is coded in Autohotkey and based on keynav. If you find the source, remapping the keys is fairly straightforward.

If you're on Linux, keynav is your friend.

sudo apt-get install keynav

You'll have to change the configuration file to use arrow keys. (The default uses vim-like navigation.)

For focusing panels in Eclipse, I average between two-to-three keystrokes.

score:1

In all my eclipse usage I've never noticed such a shortcut and I would not expect one to exist. I skimmed though the link provided by Anthony and checked my own copy of eclipse, but none of it looked like what you're looking for.

You can also look through them yourself by going to: Window > Preferences > General > Keys

score:4

It's just Ctrl + Tab and Ctrl + Shift + Tab on my windows! try it.

score:5

Just found it!

Ctrl + Page Up and Ctrl + Page Down.

score:17

Personally I did not find such shortcut or option. However, there are some possibilities for switching editors from the keyboard (Ctrl + F6 and Ctrl + Shift + E as general ones, or my favourite "all-in-one" Ctrl + 3 :) ).

Also, if you work mostly two files 'for a long time' (one in left side and one on right side), you can also use the History operations (Alt + , Alt + ) for switching editors.

Eclipse allows for multiple editors to be open at any time, and those editors may be arranged as tabs (default behaviour) or split vertically or horizontally. The information above about available shortcut options is correct and provides the correct functionality in the case of two (only) open editors. Where there are greater than two open editors the shortcuts allow navigation to the 'next' or 'previous' editor. There is no concept of the logical left/right or top/bottom editor.


Related Query

More Query from same tag