Home > OS >  Visual studio code - how to open multiple windows from context option
Visual studio code - how to open multiple windows from context option

Time:07-01

There are some guides in stackoverflow for opening multiple windows in Visual Studio. But it is inside the Visual Studio they are talking about.

Here is what I want. There is one txt file called A.txt in my desktop, I right click it and the context option shows Open With Code, and I open it. There is another txt file called B.txt in my desktop. While I right clit it and open it with visual studio code, both the two files are in the same window.

Is there any setting that the two files can be opened in two windows?

CodePudding user response:

Not sure why you want that but actually there is a setting which behaves like you want when turned to "On":

Window: Open Files In New Window Controls whether files should open in a new window when using a command line or file dialog. Note that there can still be cases where this setting is ignored (e.g. when using the --new-window or --reuse-window command line option).

You can find it via: User -> Window -> New Window

You can quickly open the settings dialog by pressing CTRL ,

  • Related