Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In case it matters:

  • OS: Mac OS X Lion (10.7.4)
  • Eclipse: Juno, Build id: 20120614-1722

I have several files open in my eclipse workspace as tabs. The default shortcuts for previous and next editors are F6 and shiftF6. I know how to change these shortcuts, that's not the issue.

However, what I want to do, is switch between editors in the way in which they're ordered in the tab bar. Currently, the editors change in order of last used/viewed.

So, if I had three files (A, B and C in order) open and I'm currently editing A and I edited B last, when I use the shortcut for "Previous Editor", it takes me to B instead of C (and vice versa).

Is there any way for me to get this functionality out of eclipse (if so, how)?

Thank you

share|improve this question
up vote 0 down vote accepted

I may have found a solution to your problem. This is answered best by this answer for this question.

Essentially, there are options in Eclipse called "Next Tab," and "Previous Tab" (in Preferences > General > Keys). These are the options to which a key combination should be bound, in order to pass to the next editor, or the previous editor.

share|improve this answer
    
I didn't know about the Next and Previous Tab options. I thought the eclipse lingo for "tab" was "editor". Thank you for clarifying – inspectorG4dget Sep 16 '12 at 6:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .