22

In Visual Studio, I always use Ctrl+Tab and Ctrl+Shift+Tab to navigate between documents. I see that Eclipse has Ctrl+F6 to navigate between editors, but this isn't nearly the same behavior. The difference being, pressing it once and then again will get you moving back and forth between two files, whereas in VS, it will cause you to navigate forward based on the tab order in the editor. Any ideas on how I can replicate VS's behavior?

jasonh
  • 29,297
  • 11
  • 59
  • 61

2 Answers2

21

Looking at Keys in the preferences dialog, there are commands for "Next editor" and "Previous editor", bound to Ctrl+Alt+Right/Left.

I use Ctrl+Page up/Page down, but that might be specific to Linux because it's the same shortcut in other apps such as Nautilus and Terminal.

Martin
  • 37,119
  • 15
  • 73
  • 82
  • Page up and down were exactly what I needed. Works on Windows too. – jasonh May 02 '10 at 19:36
  • 10
    This isn't the exact same behavior. It simply moves to the "next" document located on the next physical tab. If you ctrl-tabbed to a document three tabs over and wanted to switch back to the previous document, you can hit ctrl-tab once (in Visual Studio)..but you have to hit ctrl-pgup thrice in Eclipse. – User1 Jan 03 '13 at 21:44
3

I just set the Next tab and Previous tab actions under Preferences > General > Keys to Ctrl+Tab and Ctrl+Shift+Tab respectively and it works just fine. Eclipse is highly customizable

Chris
  • 3,328
  • 1
  • 32
  • 40
KG6ZVP
  • 3,610
  • 4
  • 26
  • 45