How do you split and unsplit a window/view in Eclipse IDE?

后端 未结 11 1912
Happy的楠姐
Happy的楠姐 2020-12-04 05:06

How do you split a window/view in Eclipse IDE? I want to edit code while viewing the different code in the same file.

If there is a trick to open the same file twice

相关标签:
11条回答
  • 2020-12-04 05:47

    You might want to check an eclipse plugin called HandySplit

    It allows to split an editor into two and move tabs from one editors stack to another with keyboard shortcuts only.

    That works on Eclipse Juno or higher. For the previous Eclipse versions check this out

    0 讨论(0)
  • 2020-12-04 05:50

    You can open a new editor from the Window menu.

    This will give you your current editor once again.

    0 讨论(0)
  • 2020-12-04 05:51

    Below are the steps to split editor horizontally or vertically go to:

    Window -> Editor -> Toggle Split Editor (Horizontal) 
    

    to split editor horizontally or

    Window -> Editor -> Toggle Split Editor (vertical) 
    

    to split editor vertically.

    It will open two editors side by side or will pileup tow.

    0 讨论(0)
  • 2020-12-04 05:52

    Simply go to Window > New Window

    This will open up a new window of the same Workspace in eclipse.

    You can open up separate files in each Window.

    0 讨论(0)
  • 2020-12-04 05:56

    Side by side editors in single Eclipse window.

    1. You have an Eclipse window showing a single editor.
    2. Window -> new editor. You now have two editor tabs.
    3. Click and drag one tab towards the right and a green outline of a vertical screen appears (drag tag towards the bottom and an outline of a horizontal screen outline appears). You can let go as soon as the outline appears.
    4. Open file of choice in 2nd editor (recent files show up at bottom of file menu).

    ADT/Eclipse:Build: v22.3.0-887826

    0 讨论(0)
提交回复
热议问题