HandySplit 1.0.6

Bookmark and Share
Update site

Add this URL to your Eclipse Installation to reach this Solution's Update Site.
Learn more...

Details Group Tabs

Reviews

Login  to post comments.

Small issue w/losing keyboard focus

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

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

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

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

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

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

Vertical split and duplicates removal added in the newly released v1.0.4