20

I would like to know what is the difference between changing Visual Studio Code settings in the User and the Workspace tab.

1
  • 1
    User settings apply to all workspaces, Workspace override User settings for this workspace, The same rules for Folder settings Commented Feb 10, 2021 at 21:13

1 Answer 1

24

From vscode settings:

VS Code provides two different scopes for settings:

  • User Settings - Settings that apply globally to any instance of VS Code you open.

  • Workspace Settings - Settings stored inside your workspace and only apply when the workspace is opened.

Workspace settings override user settings. Workspace settings are specific to a project and can be shared across developers on a project.

Note: A VS Code "workspace" is usually just your project root folder. Workspace settings as well as debugging and task configurations are stored at the root in a .vscode folder. You can also have more than one root folder in a VS Code workspace through a feature called Multi-root workspaces. You can learn more in the What is a VS Code "workspace"? article.

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks! Now I understand Visual Studio Code's settings
Thanks, that is so usefull and over years now I just want to know more, I dunno why Code does not explain you this things at the begging