Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

FAQ How do I use the keyboard to traverse between editors?

Revision as of 12:24, 7 March 2011 by Shca08-eclipse.yahoo.com (Talk | contribs) (Removed extraneous end-of-list tags (</li>) and extra lines)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The keyboard can be used in several ways to traverse between editors.


  • A pop-up list of all open editors in most recently used order will be shown when you press Ctrl+F6 and don&#146;t release the Ctrl key. Move backward in this list using Ctrl+Shift+F6.


  • Create new key bindings for the Next Editor and Previous Editor commands in the Workbench > Keys preference page, under the Window category. Many users find that binding these commands to Ctrl+` and Ctrl+Shift+` (the key directly above Tab on U.S.-English keyboards) makes editor switching much like the Alt+Tab and Alt+Shift+Tab that many window managers use to switch applications.


  • Use Alt+Left and Alt+Right&#151;or click the Forward and Back buttons in the toolbar&#151;to move around in the editor navigation history, much as you would in a Web browser.


  • Press Ctrl+Shift+E to open a dialog of all open editors, type the first letter of the editor input name to pick the editor of choice from the list, and press Enter. This is a quick way to get random access in a large group of open editors.


  • Press Ctrl+E (Eclipse 3.0 only) to open a drop-down list of open editors when the tabs do not fit on the screen. Start typing the editor name in this list to pick the editor you want to activate.


  • Press Alt+F to open the file menu; then press the number of the editor of choice from the editor history list at the bottom of the menu. This is the easiest way to jump quickly to an editor that has recently been closed.


  • Press Ctrl+Shift+R to open the Open Resource dialog and find your editor in the list (or Ctrl+Shift+T for Java types). This can be used to switch to an editor whether or not it is already open.



This seemingly long list of choices has probably been the most hotly debated usability issue in Eclipse over the years. Attempts to change or remove any of these features in the past have resulted in passionate criticism, with everyone having a favorite technique for navigating the environment. The lesson for plug-in developers? Sometimes, you have to provide more than one way to do the same thing. Always keep keyboard-only users&#151;and this includes visually impaired users&#151;in mind. The Eclipse team has been known to have mouse-free days, when mice are unplugged to make sure that everything in the environment is accessible without a mouse.



See Also:

FAQ_What_editor_keyboard_shortcuts_are_available?


FAQ_How_do_I_open_a_type_in_a_Java_editor?


This FAQ was originally published in Official Eclipse 3.0 FAQs. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the Eclipse Public License v1.0.

Back to the top