VS Code config file locations
Find VS Code user and workspace settings.json locations on macOS, Linux, and Windows.
For ordinary non-language-specific settings in a single-folder workspace, workspace settings override user settings. These paths are for desktop VS Code Stable with the default profile and data directory. Profiles, Remote, Insiders, Portable, custom data directories, and multi-root workspaces are outside this page's scope.
Workspace level
Workspace overridesApplies only to the folder opened as your workspace. Replace <project> with that folder's path.
Config file location
Some application-wide settings cannot be overridden at workspace level.<project>/.vscode/settings.jsonCommands
vi "<project>/.vscode/settings.json"User level
User defaultsApplies across workspaces using the default profile.
Config file location
If the file does not exist yet, use Preferences: Open User Settings (JSON) from the VS Code Command Palette.~/.config/Code/User/settings.jsonCommands
vi "$HOME/.config/Code/User/settings.json"
Official VS Code documentation