Config File Locator

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.

  1. Workspace level

    Workspace overrides

    Applies only to the folder opened as your workspace. Replace <project> with that folder's path.

    Config file location
    <project>/.vscode/settings.json
    Some application-wide settings cannot be overridden at workspace level.
    Commands
    vi "<project>/.vscode/settings.json"
  2. User level

    User defaults

    Applies across workspaces using the default profile.

    Config file location
    ~/.config/Code/User/settings.json
    If the file does not exist yet, use Preferences: Open User Settings (JSON) from the VS Code Command Palette.
    Commands
    vi "$HOME/.config/Code/User/settings.json"

Official VS Code documentation