Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.