多次打开同一个文件

我想并排查看同一个文件。如何为一个文件打开两个(或更多)选项卡?

35073 次浏览

File | New View into File will open a second tab for the same file. This can be moved into another window or tab group.

Multiple tabs or Columns? The first is with File -> New File , the second with View -> Layout -> Columns.

For side by side view in mac:

⌥ + ⌘ + 2 to split window (another group)

select the tab you want to move to another group (group 2)

⌃ + ⇧ + 2 move selected tab to group 2

like this you can split you window in to 4 columns, 2 rows and a grid

  • Go into the pane you want to see the file in.
  • Type Ctrl-p (Mac: -p) to get the list of files available.
  • Select the one you're after and it will be loaded into the current pane

(Even if it's already open in another pane.)

  1. go to view > layout > Columns:2

  2. go to File > New View Into File

  3. then drag new Tab into new Column