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
// 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
Download from the command line
curl -L -o settings.json https://files.samplefiles.com/config/vscode-settings/settings.jsonwget https://files.samplefiles.com/config/vscode-settings/settings.jsonhttps://files.samplefiles.com/config/vscode-settings/settings.jsonprintf '%s %s\n' 3b26518f05ea01f194dea1e9c32e6921e2cae03b681316de7813573abc771a06 settings.json | shasum -a 256 -cOr check the download in your browser with the checksum calculator.