views:

313

answers:

1

Is there any way to setup an Eclipse keyboard shortcut which will split the current editor vertically and put the current tab on one side? For example, turning this:

before

Into:

after

+1  A: 

Not directly with eclipse (3.4 or 3.5)

The closest plugin I have found which might enable what you are looking for is the Split file Editor

Ctrl+6

Usage: Open a file in Eclipse, then select Window -> New Split Editor from the main menu to open a split editor of the file.

(not exactly what you want but:)

Split editor opens in a new tab as opposed to appearing within the existing tab

(so while there may be 2 instances of the same file editor, you still have a situation with one file on one side, and the other files on the other tab group)

VonC
Meta: how did you do the Ctrl+6 in the markup?
mhaller
Using <kbd>: <kbd>Ctrl</kbd>+<kbd>6</kbd>
David Wolever
kbd: use with moderation ;) http://meta.stackoverflow.com/questions/1939/kbd-elements-are-way-intrusive
VonC