Config Files · 1 file

Sample VS Code settings.json File

VS Code workspace settings live in .vscode/settings.json (JSON with comments). Our sample is realistic and valid for its tool, with fake hosts and secrets.

VS Code settings.json · 461 B

VS Code settings.json

A workspace .vscode/settings.json (JSONC, with comments) for formatting on save, per-language formatters, file excludes and search excludes. All hosts, keys and secrets are fake.

CC0 · free for any use · Verified by an independent tool · Report a problem

settings.json — first linesJSON
// Sample .vscode/settings.json — samplefiles.com
{
  "editor.formatOnSave": true,
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "editor.rulers": [100],
  "files.eol": "\n",
  "files.insertFinalNewline": true,
  "files.exclude": { "**/node_modules": true, "**/dist": true },
  "search.exclude": { "**/coverage": true },
  "[python]": {
    "editor.defaultFormatter": "charliermarsh.ruff",
  },
  "typescript.tsdk": "node_modules/typescript/lib",
}

File details

Size
461 B (461 bytes)
MIME type
application/json
SHA-256
3b26518f05ea01f194dea1e9c32e6921e2cae03b681316de7813573abc771a06
MD5
b1d8f61200d8ee3cf9da5d9e25eaac92

Download from the command line

curl -L -o settings.json https://files.samplefiles.com/config/vscode-settings/settings.json

Or check the download in your browser with the checksum calculator.