8

Is there any shortcut to split editor window in eclipse? Or can I set this?

4

5 Answers 5

12

Those shortcuts will exist soon (4.4 M4+), as announced by Lars Vogel (December 2013) in "Split editor implemented in Eclipse Luna 4.4 M4 Luna":

(4.4 M4+) shortcut for splitting is:

  • Ctrl + _ for split horizontally, and
  • Ctrl + { for split vertically.

4.4 final (update October 2014)

Szorstki reports in the comments:

  • Ctrl + Shift + _
  • Ctrl + Shift + {

Worked in my Eclipse Luna


https://bugs.eclipse.org/bugs/attachment.cgi?id=238285

Split editor implemented in Eclipse M4 Luna 4.4 (Bug 8009)

The split editor functionality has been developed in Bug 378298, and will be available as of Eclipse Luna M4. The Note & Newsworthy of Eclipse Luna M4 will contain the announcement.


As commented below by Tobias Lott, there is still a pending bug (438562) regarding keyboard layouts, e.g. German, Swiss German or Italian.

5
  • Wonder when they run out of shortcut key combinations. I somewhat miss WordStar... Dec 23, 2013 at 11:05
  • Ctrl+Shift+_ and Ctrl+Shift+{ Worked in my Eclipse Luna
    – Szorstki
    Oct 7, 2014 at 8:28
  • 1
    @Szorstki Thank you. I have included those shortcuts in the answer for more visibility.
    – VonC
    Oct 7, 2014 at 8:30
  • 3
    Unfortunately the vertical split doesn't work with some keyboard layouts, e.g. German, Swiss German or Italian. See Bug 438562 Nov 27, 2015 at 14:08
  • @TobiasLott Good point. I have included your comment in the answer for more visibility.
    – VonC
    Nov 27, 2015 at 14:17
2

Nope this is one of the oldest outstanding enhancement requests in Eclipse. As noted in the last comment, it will be 10 years old next month.

2

Eclipse doesn’t support this. However, you can do this by installing the Emacs+ plugin.

Once you’ve installed the plugin, you can just press Ctrl-X, then 2 or 3 depending on whether you want to split it horizontally or vertically respectively.

You need to first either configure your key binding to the Emacs+ Scheme (see Emacs+ installation instructions) or configure the keys manually using the command keys described on the Emacs+ homepage to configure the keys.

2

There's Split Editor Plugin. When you install this plugin, you can assign shortcut key to split editor.

1
  • on install repositry seems to be missing, installed handysplit instead
    – aldr
    Sep 27, 2016 at 12:22
-1

It seems to be Ctrl+8 in Indigo.

4
  • That is playing on semantics really. Effectively there is no difference
    – prusswan
    Dec 27, 2011 at 15:24
  • 1
    No, it's a big difference. In emacs for example, you do control-x-2 to spit a window. In Eclipse you have to drag the editor window to make it a half window and then create a new editor. If you just do a new editor without doing that, then it creates the editor in a different tab, but it's not a split window. Dec 27, 2011 at 15:30
  • No, a new editor (side by side) on Eclipse achieves the same without additional need to drag, so I have no idea what you are talking about
    – prusswan
    Dec 27, 2011 at 15:36
  • @FrancisUpton maybe a picture would help prussswan. Aug 3, 2012 at 14:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.