HandySplit

Add this URL to your Eclipse Installation to reach this solution's update site.

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)

https://sourceforge.net/projects/handysplit/files/update/

Learn more...
Solution Description

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

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
March 2024 635/651 1 2
February 2024 572/687 3 5
January 2024 625/691 2 6
December 2023 578/671 3 8
November 2023 640/686 1 7
October 2023 553/673 5 7
September 2023 661/663 1 8
August 2023 589/673 3 5
July 2023 525/668 5 3
June 2023 590/669 3 3
May 2023 462/671 13 8
April 2023 563/667 4 10
View Data for all Listings

Unsuccessful Installs

Unsuccessful Installs in the last 7 Days: 0

Download last 500 errors (CSV)

Marketplace Drag to Install Button

By adding the following code below to your website you will be able to add an install button for HandySplit.

HTML Code:

Markdown Syntax:

Output:

Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client

Reviews Add new review

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.

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 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.

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

In reply to 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.