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

Robin Sun

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?

Manuel Manhart

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 + ,

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

How to open Visual Studio Code - Insiders from the command line in windows?

How do I remove 'open with code' from my context menu for Visual Studio Code?

How to open 2 windows in visual studio code?

How to open visual studio code from url

Open Visual Studio Code from the Command Line in Windows

How to open multiple files from the quick open menu in Visual Code?

Visual Studio Code how to open the same file in multiple tabs?

How do I open multiple instances of Visual Studio Code?

Visual Studio "Open as a Web Site" context menu option

How to open Visual Studio Code from the command line on OSX?

How to open a file from the integrated terminal in Visual Studio Code?

How to open browser from Visual Studio Code API

How to open project from source code in Visual Studio 2005

Open multiple Projects/Folders in Visual Studio Code

Visual Studio Code fails to open from Powershell

How to COMPLETELY uninstall Visual Studio Code from Windows 10?

Multiple search windows in Visual Studio Code

How to format code in Visual Studio Code on Windows

Have WSL shell open to project directory in Windows Visual Studio Code

How to comment multiple lines in Visual Studio Code?

How to Mark multiple Files in Visual Studio Code?

Visual Studio Code How to change to windows terminal

How do I set up a link to open up Visual Studio Code from terminal on OSX?

How to Open a File From FTP Directly In Text Editor / Visual Studio Code

on macOS, how do I open Visual Studio Code Insiders from a shell?

How to prevent Visual Studio Code from exiting when pressing Ctrl+W and no editor is open

Will I still be able to open code from an older version of Visual Studio?

Cannot open Visual Studio Code

Excel open option missing from Context Menu