
Note: It is also possible to open VS Code without a workspace. Think of a workspace as the root of a project that has extra VS Code knowledge and capabilities. You may see the terms "folder" and "workspace" used interchangeably in VS Code documentation, issues, and community discussions.

Selectively enable or disable extensions only for that workspace.Store and restore UI state associated with that workspace (for example, the files that are opened).Persist task and debugger launch configurations that are only valid in the context of that workspace.Configure settings that only apply to a specific folder or folders but not others.The concept of a workspace enables VS Code to: In most cases, you will have a single folder opened as the workspace but, depending on your development workflow, you can include more than one folder, using an advanced configuration called Multi-root workspaces.

