What is settings.json? VS Code's "user" and "workspace"

setting.json

settings.json is one of the many configuration files of VS Code, which can edit the page style, code format, font color and size, etc. of VS Code. For example, the editor may default to a tab with 4 spaces, and the user can modify it in setting.json to our usual 2 spaces as a tab.

Settings for VS Code

There are two branches in the settings interface of VS Code, namely "User" and "Workspace".

User settings: will be applied to all projects opened by the user;

Workspace settings: Only applicable to the VS Code settings of the current directory, and the settings in the workspace will override the user settings.

Guess you like

Origin blog.csdn.net/qq_53931766/article/details/123754969