Is there an Eclipse shortcut to switch between multiple text editor configurations?
When using Eclipse, I typically have two editor tab configurations:
- Side-by-side configuration. I keep the main class file on the left and the corresponding unit tests on the right.
- Single-tab configuration. I view only one class file at a time in the editor.
I use #1 when at work, when my larger monitor allows me to see 100-column files side-by-side without horizontally scrolling.
I use #2 on my laptop when in transit (bus, plane, etc). My laptop is not wide enough to support side-by-side, so I only display one file at a time to avoid horizontally scrolling.
What I would really like is a way to switch configurations quickly. I often leave work with tons of tabs open in my workspace, which is very difficult to read when I open it on my laptop.
NOTE: Perspectives don't appear to solve this problem, since Editor configuration is constant across all perspectives.