An Eclipse plugin that enables split and rearrangement of open editors with keyboard shortcuts (which is not given as an option in the standard Eclipse distribution).
Currently supported features are:
ALT+SHIFT+S, S
- Splits an editor with multiple open tabs into two horizontally adjacent sections
ALT+CTRL+S, S
- Splits an editor with multiple open tabs into two vertically adjacent sections
ALT+SHIFT+S, M
- Moves an active tab into the adjacent section if such exists
ALT+SHIFT+S, C
- Clones an active tab into the adjacent section if such exists otherwise creates an adjacent section before cloning
ALT+CTRL+S, C
- Same as above but splits vertically if split is needed
ALT+SHIFT+S, E
- Exchanges selected tabs in two adjacent sections
ALT+SHIFT+S, F
- Flattens (collapses) the active split editor's sections back into one and removes all duplicate tabs (produced by the Clone action) on the same level
ALT+SHIFT+S, T
- Toggles the focus between the two sections (active tabs) of the split editor
Categories: Editor, General Purpose Tools, IDE, Other, Tools
Tags: Split, editor, split editor, split window, clone editor, shortcut, handy
Additional Details
Eclipse Versions: Mars (4.5), Luna (4.4), Kepler (4.3), Juno (4.2, 3.8), Previous to Juno (<=4.1), Neon (4.6), Oxygen (4.7), Photon (4.8), 2018-09 (4.9)
Platform Support: Windows, Mac, Linux/GTK
Development Status: Alpha
Date Created: Wednesday, September 25, 2013 - 18:42
License: EPL
Date Updated: Wednesday, December 14, 2022 - 09:48
Submitted by: Alexander Kikhtenko
Date | Ranking | Installs | Clickthroughs |
---|---|---|---|
December 2024 | 0/0 | 0 | 5 |
November 2024 | 630/658 | 1 | 14 |
October 2024 | 640/663 | 1 | 9 |
September 2024 | 546/642 | 3 | 12 |
August 2024 | 536/641 | 3 | 20 |
July 2024 | 589/663 | 2 | 9 |
June 2024 | 596/681 | 2 | 10 |
May 2024 | 0/0 | 0 | 14 |
April 2024 | 683/687 | 1 | 10 |
March 2024 | 603/694 | 2 | 3 |
February 2024 | 572/687 | 3 | 5 |
January 2024 | 625/691 | 2 | 6 |
Reviews Add new review
Small issue w/losing keyboard focus
Submitted by Jon Christopher on Thu, 08/07/2014 - 15:23
Handysplit is great, particularly for emacs refugees like me!
However, there is a small issue where after flattening windows, no window has the keyboard focus, so I have to find my mouse again to continue editing.
Ambiguity of name of internal function, and missing function
Submitted by David M. Karr on Mon, 03/10/2014 - 12:15
I'm just getting back to looking at this after finally giving up on Emacs+. I'll go back to it in a second if the problems with using it in Kepler are ever fixed, but for now, HandySplit is the best I can do, at least for what HandySplit provides.
I'm now looking closer at the functions this plugin provides. When I look in my key bindings and look at the HandySplit category, I see nine functions:
* "Split editor ()"
* "Toggle focus between split editors"
* "Split editor ()"
* "Move editor"
* "Flatten split editors"
* "Exchange editors"
* "Clone editor ()"
* "Split editor"
* "Clone editor"
The HandySplit documentation lists 8 functions. Because of the ambiguous wording of these internal function names, I can't tell for certain exactly what's what here. Is there any way to get a "longer description" for each of these functions?
These internal names should be changed to reflect what they do, and remove ambiguity.
It usually works
Submitted by Mike Alexander on Thu, 11/14/2013 - 11:59
It seems to be the only plug-in that even attempts to fix this lost functionality in Juno+.
Bugs in 1.0.6 under Juno SR2 Build 10130225-0426:
- Horizontal and Vertical split and clone commands have identical names in the key binding list.
- Unbinding one of the HandySplit commands ending with "()" causes the command to be completely lost and cannot be bound to any key without all key bindings being restored to default.
- "Clone editor ()" commands consistently split correctly, but frequently don't clone the current editor.
- "Flatten split editors" command with different editors open on either side of the split: the editor containing cursor focus frequently isn't the displayed editor tab after the flatten completes. Title bar continues listing file name of an editor that is not the current tab and arrow keys (or equivalent) don't get processed at all until the current editor tab is manually selected again.
- "Flatten split editors" command with cloned editors open on either side of the split: the editor containing cursor focus frequently isn't the displayed editor tab after the flatten completes. One of the cloned editors (not necessarily the focused one) is preserved after the flatten, while the other one closes correctly. The focus after the flatten may be either one of the two editors that was open and was preserved, or it may be one of the other editors that happened to be open at the time. In either case, the editor preserved from the split retains the cursor focus and the title bar lists it even if it's not the currently selected editor tab.
This restores functionality lost in Emacs+ upgrade to Kepler
Submitted by David M. Karr on Sat, 10/19/2013 - 14:16
I previously had this functionality in the Emacs+ plugin, but this area of functionality stops working when Emacs+ is upgraded to Kepler (and Juno). Adding HandySplit and some rebinding to the keys I'm used to, I now have the same useful features I had back in Indigo.
Great
Submitted by Holger Klene on Mon, 09/30/2013 - 18:26
I'd expected the "flatten" command to also consolidate the editor-list and close any files which are opened twice independent of where and how they were opened. The result should be a single set of editors all in the same editor-pane, I think. I have to play with it some time, if there is a pattern, when both editors stay or when the both close ...
Moreover would you kindly consider adding a vertical spilt?
Finally there is the defunct http://marketplace.eclipse.org/content/split-editor-plug which adds toolbar buttons ... Maybe you could join forces and pick up where they left?
Thank you
Re: Great
Submitted by Alexander Kikhtenko on Thu, 10/03/2013 - 08:48
In reply to Great by Holger Klene
Holger, thank you for installing the plugin and commenting on it.
Vertical split is definitely in my todo list and will be added soon.
As for the flatten action - I think there is a place for both 'shallow' and 'deep' flattening. In my use cases I would want to flatten just one level up but surely the other might be useful as well.
I agree with the duplicate editors removal and hope to get it fixed in the next version as well.
Support for Eclipse versions <4 and toolbar buttons were not in my plans at least not the top priority (because it contradicts with initial motivation for the plugin creation) but in case you (or anybody else) want to contribute you are more than welcome. The source code is tiny and available on the GitHub.
Thanks again for pointing out all above.
Re: Great
Submitted by Alexander Kikhtenko on Wed, 10/09/2013 - 18:35
In reply to Re: Great by Alexander Kikhtenko
Vertical split and duplicates removal added in the newly released v1.0.4