I want to view the same file side-by-side. How do I open up two (or more) tabs for a single file?
Asked
Active
Viewed 3.6k times
5 Answers
205
File | New View into File will open a second tab for the same file. This can be moved into another window or tab group.

Richard
- 106,783
- 21
- 203
- 265
-
6If you want an equivalent keyboard shortcut, use the Command Palette: `Ctrl+Shift+P`, type "file view", hit `Enter` – Eric Apr 20 '18 at 12:16
-
4Or alternatively `Alt+F, E`. – user202729 May 26 '18 at 08:46
34
- 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.)

Dave Newton
- 158,873
- 26
- 254
- 302

MrFrAk
- 349
- 3
- 2
16
go to
view > layout > Columns:2
go to
File > New View Into File
then drag new Tab into new Column

Ali Bahadorani
- 193
- 1
- 9
-
1Thanks, the missing instructions for the others replies was the layout one – iXô Jun 19 '20 at 09:17
2
Multiple tabs or Columns? The first is with File -> New File , the second with View -> Layout -> Columns.

MaicolBen
- 840
- 1
- 6
- 20
1
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

Shashank Jain
- 559
- 7
- 9
-
This answers a different question; the issue is getting the same file into two of those panes. – Dave Newton Dec 15 '14 at 20:07
-
I think what i've explains does the same thing for which this question has been asked. Just try out – Shashank Jain Jan 13 '15 at 12:14
-
For me it moves the current file into the new tab, it doesn't duplicate the file in the new tab. That's different than what's being asked; compare your answer to the accepted one. I didn't downvote, but I'm pretty sure this doesn't open the same file in two panes. – Dave Newton Jan 13 '15 at 14:55
-
1This works and answers the question, but you do need to have your target file opened twice. That can be accomplished with `File > New View` starting from the file you want split. Then you'll have the file in a 2nd tab to follow step two above. – Kilpatrick Jun 27 '16 at 13:24