I have used Vim for sometime now and I love the split window feature where you can see all pertinent code all at the same time.  I am using eclipse because it is making my life even easier.  I just found out that you can split windows in eclipse too.  All you have to do is open the files.  Eclipse will open them in tabs as usual.  Then drag one of the tabs to the side you want until you see an arrow, then let go and viola.  I am using Eclipse 3.4.  I don’t know if this works in all eclipse versions.

Edit: Here is a video to demonstrate:

Split window/view in Eclipse IDE from Addisu Taddese on Vimeo.


  • Peter Andrews

    An easier method is to be on the tab of the window you wish to split and then choose Window->New Editor

    This will create a new tab with the same file. If you wish to be able to see both copies at the same time then drag one of the splits to another section of the window, either in an exiting window or wait until the gui shows a gray outline to create a new window.

  • http://tnbelt.com josh

    thanks for the tip man, the video was helpful. just what I was looking for.

  • lacyn

    Beautiful!! Thanks alot.

  • bhargav

    thanks buddy

  • AEHP

    Hi everybody,

    I want to ask you how do I detect the events when I move a view to out the workbenchwindows using the mouse?

    My context is the following:
    I have an application eclipse RCP that it has many view into one perspective. I must move out a view using the mouse, the view must be located out of the main windows of the application. I can use the mouse for moving the view out the windows but I must know what is the event that it calls. If I know the events, I will write my code java for changing the behaviors of my application.

    I need to know what are the events that it call when I move out a view using the mouse.

    I hope you can help me,

    Thank a lot,

    • azeey

      Unfortunately, I haven’t done any Eclipse programming as of yet so I can’t help you. I hope you will find the answer.

  • Isaac

    Hey Addisu! I was doing some Java work in Eclipse and googled “eclipse split view” and found this as the first result. Small world! Hope things are going well with you.

    • azeey

      Isaac! Great to hear from you. Small world indeed. I hope you are doing well too.

    • azeey

      By the way, if you know any smart/motivated people who want to work in Evansville, let them know we are hiring :)

  • ramona

    thanks! :)

  • Nick

    Great tips!
    btw, I also found here by googling.

  • yobgoya

    Thanks!