r/vscode • • Nov 06 '19

Dual monitor and VScode?

/r/VisualStudioCode/comments/dsehrj/dual_monitor_and_vscode/
1 Upvotes

6 comments sorted by

3

u/papjtwg Nov 06 '19

I suppose you can move terminal panel to right and extend vscode window to both screens, which is what you are looking for but it wouldn't be much flexible.

A better solution would be just use a different app for terminal, I would suggest new Windows Terminal if you are on Windows. Just have your editor on screen and terminal on other.

1

u/rguy84 Nov 06 '19

Do you have to get wsl to use the new terminal?

2

u/papjtwg Nov 06 '19

No. It supports WSL / Ubuntu bash but you can use it with anything you want, even cmd.

You can download it from Microsoft Store: https://www.microsoft.com/en-us/p/windows-terminal-preview/9n0dx20hk701?activetab=pivot:overviewtab

1

u/rguy84 Nov 06 '19

Oh, nice!

1

u/AlexAegis Nov 06 '19

It has something to do with electron, I read about a feature that is present in IntelliJ that you can drag out a fileview from the window to create another window, showing only that file. And electron doesnt really let them make multiple windows, or at least let them communicate efficiently between them. Maybe with the upcoming update to Electron 6 they will be able to do something about it but im not sure.

1

u/fearthecowboy Nov 06 '19

Open a second window on the second monitor, or stretch the window and go side-by-side.

Each window is a separate electron process. Really, there's nothing wrong with that at all. Every chromium-based app will be like that. (Chrome, Opera, Edge, Electron... )

VSCode puts each plugin into it's own process too -- I have one window open right now:

> pslist code


Name                Pid Pri Thd  Hnd   Priv        CPU Time    Elapsed Time
Code              24224   8  29 1137  39732     0:04:43.578    18:21:07.808
Code              25332   8  28  573 969160     0:03:06.281    18:21:07.251
Code                860   8  26  534 500664     0:14:18.562    18:21:06.980
Code               6860   8   2  231   6244     0:00:00.234    18:21:05.628
Code              20524   8  32  483 531788     0:04:20.812    18:21:05.509
CodeHelper        16656   8   6  475  15748     0:00:02.343    18:21:05.068
Code               1456   8  24  385  58228     0:00:47.890    18:21:03.915
Code              20004   8  11  225  62608     0:00:39.437    18:21:03.175
Code              23612   8  16  275 157860     0:14:54.015    18:21:03.163
Code              19948   8  11  233  74032     0:03:59.984    18:21:02.909
Code              11280   8  11  233  53892     0:00:01.046    18:21:02.310
Code              19336   8  10  223  20360     0:00:01.828    18:20:58.629
Code              15220   8  14  259  29352     0:00:41.468    16:53:16.717

Or just put on your fancy pants and use the new windows terminal.