Eclipse - Same .Java file in split view?

后端 未结 4 1276
深忆病人
深忆病人 2020-12-13 23:36

Perhaps this is a trivial question, however it\'s something that is seriously annoying me. I\'m editing someone\'s program at the minute and one of their .java

4条回答
  •  难免孤独
    2020-12-14 00:13

    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.

提交回复
热议问题