Open multiple Projects/Folders in Visual Studio Code

Manish Sapkal :

How do I open multiple projects/folders in a single Visual Studio Code instance, and open multiple files in single view? Does it has any option for future change request?

Juliën :

Update

As mentioned in several other answers here, this 'accepted' answer is outdated and is no longer correct. VS Code now has the concept of a 'workspace' which lets you add several 'root' folders to VS Code in the same window.

For instance, when working on a project in one folder that utilizes shared code held in a different folder, you can now open both the project folder and the shared folder in the same window.

To do this you use the Add folder to Workspace... command. VS Code then saves this configuration in a new file with a .code-workspace extension. If you double-click that file, VS Code will re-open with both folders present.

Original Accepted Answer (Outdated)

As described in The Basics of Visual Studio Code article:

"VSCode is file and folder based - you can get started immediately by opening a file or folder in VSCode."

This means the concept of solution and project files, like the .sln and .csproj, have no real function in VSCode other than that it uses these only to target and identify which language to support for Intellisense and such.

Simply put, the folder you open is the root you work with. But of course there is nothing from stopping you to open multiple windows.

As for the request features options, navigate to Help > Request Features which will redirect you to the UserVoice page of VSCode.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

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

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

How do I open multiple instances of Visual Studio Code?

Cannot open Visual Studio Code

Open folder in Visual Studio code in WSL with "code"

Multiple formatters in Visual Studio Code

Create a bat file to open multiple projects in Visual Studio Code with one click

How to open visual studio code from url

open react project in visual studio code by cmd

Cannot open solution file in Visual Studio Code

Visual Studio Code open tab in new window

Unable to open visual studio code in Ubuntu 20.04

Visual Studio code 'open in browser' extension failed

Visual Studio Code fails to open from Powershell

How to open 2 windows in visual studio code?

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

Multiple search windows in Visual Studio Code

How to comment multiple lines in Visual Studio Code?

Visual Studio Code SFTP to multiple servers

Visual Studio Code Replace multiple files at once

Visual Studio Code: running preLaunchTask with multiple tasks

Multiple Launch Files in Visual Studio Code

Visual Studio View Code on Multiple Files at Once

How to Mark multiple Files in Visual Studio Code?

Multiple cursor selection on a pattern in Visual Studio Code

Visual studio code - regex - edit multiple line?

Visual Studio Code - Can "OPEN EDITORS" panel be sorted?

How to open all the committed files (GIT) in Visual Studio Code?

HTML link starting with "vscode:" to open a file in Visual Studio Code