Accepted answer

a. window -> new editor

or (slightly quicker)

b. right-click on the tab with the code you want to see in another split view and choose "new editor" to duplicate this tab in the same editor window (i.e. without having to open a completely new editor window as in a.)

then drag the new tab to the right until you see an arrow, then lift your finger. doing it this way the two views will be in sync: everything you change on the left will change on the right.


i have implemented small plugin which can split view for any eclipse based editor and make a video have it's work, see video here this plugins part of jboss tools, but can be installed. with it you can split editor view just by clickin ctrl+8 or window->new editor(side by side).


for two tabs:

window > editor > clone

for same tab (as shown above):

window > editor > toggle split editor


lars vogel just announced (december 2013) in "split editor implemented in eclipse m4 luna" that is is now possible possible!

split editor implemented in eclipse m4 luna 4.4

this solves one of the oldest and most upvoted eclipse bug: 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.
current shortcut for splitting is:

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

as commented by mahesha999, there is a clone option in menu window > editor > clone which opens separate cloned window/tab (instead of split view inside the same tab) that can be dragged to the 2nd monitor.

Related Query

More Query from same tag