Split Editors, Top Eclipse Luna Feature #2

Split Editors, Top Eclipse Luna Feature #2

Eclipse Luna ships tomorrow and that means we’ve made it to number 2 on the Eclipse Luna Top 10 Features That I’m Excited About. Number 2 is a feature enhancement that was first requested in 2002. Over 200 people voted for this enhancement and 181 comments have been posted on Bugzilla! The bug even celebrated a 10 year anniversary. Of course I’m talking about bug 8009Split Editors, and with Eclipse Luna, Split Editors are finally here.

Screen Shot 2014-06-23 at 1.52.28 PM

From any editor you can use CTRL+{ to split vertically and CTRL+_ to split horizontally.

In addition to split editors, a number of other notable improvements have been added to the Eclipse platform in Luna. Perspectives can be re-ordered, GTK+3 is now a proper port for SWT and new timing and sleep monitoring APIs have been added SWT.

There are also new options to open existing folders as projects, or use the system explorer to navigate to a resource.

Screen Shot 2014-06-23 at 3.19.42 PM

Line numbers are now on by default, and you can even hide the quick access search bar if you’d like (don’t worry, ctrl+3 still works even when the search bar is hidden).

Screen Shot 2014-06-23 at 3.28.11 PM

Screen Shot 2014-06-23 at 3.28.35 PM

Minimized views can also be configured to either overlay the other views, or slide-in to their original location.

Screen Shot 2014-06-23 at 3.37.35 PM

Screen Shot 2014-06-23 at 3.34.47 PM

Screen Shot 2014-06-23 at 3.37.42 PMMany of these new features are a direct result of the work that has gone into e4. For more Eclipse Tips and Tricks, and to find out my Number 1 Eclipse Luna feature, follow me on Twitter.

6 Comments
  • Mark
    Posted at 19:32, 2014-06-24

    Looks like this is feature #2a,b,c,d .. 🙂

  • Mark
    Posted at 04:31, 2014-06-25

    I need to switch my RCP app to e4. Got other things on the list first. 🙁

  • Arun Kumar
    Posted at 18:39, 2014-06-25

    I’m not sure why is it a “new” feature. I’ve been using split editors for a couple of years at least.

    In releases before Luna (I don’t know from which release it started), just hold any editor ‘tab’ and drag it towards the right. This will start showing “guide lines”. When you see the “guide lines” that mark two side by side editors, just drop the tab. Viola, you have one editor split into two now. You can drag and drop other tabs from one side to another.

    However, now that I think of it, it does not split ONE editor into two. It just splits the editor space into two and you can have one or more editor-tabs in each space!

    From the image that you have posted above, it seems that ONE editor is split into two i.e. you have the same file visible in the two parts. (This can also be done using the method that I have described above. Just open the file a second time and drag it to the second space). Please correct me if I am wrong.

  • Ismael
    Posted at 15:29, 2014-09-16

    And why somebody would like to split the same file in two?