01What is VS Code Settings Generator?
A shared .vscode/settings.json is one of those files nobody writes from memory. You half remember the key for format on save, then lose ten minutes on the exact name of the ESLint code action. This generator builds the file from a small form so you can commit it and move on. The top row has four inputs. Default Formatter takes an extension ID such as esbenp.prettier-vscode. Tab Size, Word Wrap (Off, On or Column) and Rulers come next, with rulers typed as comma-separated column numbers. Below that, checkboxes switch editor features on or off: Format on save, Trim trailing, Bracket colors, Minimap, Breadcrumbs, Sticky scroll and Inlay hints. Four language toggles add more keys. TypeScript writes non-relative import specifiers, auto-imports and "always" for updating imports when a file moves. With Inlay hints also ticked, it adds parameter name and return type hints. ESLint sets editor.codeActionsOnSave to source.fixAll.eslint with the value "explicit", the form VS Code has used since it replaced true and false there. It also validates JS, JSX, TS and TSX. Tailwind adds classRegex patterns so class suggestions work inside cva() and cx() calls, and turns on quick suggestions inside strings. Python adds a "[python]" block that uses the Black formatter extension with a four-space tab, plus basic Pylance type checking. The output updates as you type. Empty fields are left out rather than written as blanks, and every file ends with insertFinalNewline and trimFinalNewlines set to true. The exclude lists for files.exclude and search.exclude come from the presets and become objects with each glob set to true, the shape VS Code's settings reference describes. A quick example: load the Minimal preset and you get eleven keys. Format on save is on, tab size is 2, minimap and breadcrumbs are off, and there is no formatter or ruler key at all because those fields are blank. A few honest limits. The exclude lists have no input fields, so you change them in the JSON after copying. Picking Column for Word Wrap does not write editor.wordWrapColumn, so VS Code falls back to its default of 80. Ruler values that are 0 or not numbers are dropped silently. The Python preset also sets Black as the top-level default formatter, which affects every language unless you remove it. And there is no extensions.json output, so teammates are not prompted to install the formatter you named.
Tech leads and developers who want every teammate's VS Code to format, lint and search a repository the same way. The tool runs entirely in your browser, so your data never leaves your device.
02How to use VS Code Settings Generator
- Pick an example preset (TypeScript React, Python or Minimal) or start from the defaults.
- Fill in Default Formatter, Tab Size, Word Wrap and Rulers in the top row.
- Tick the checkboxes you want, such as Format on save, Inlay hints, ESLint or Tailwind.
- Watch the .vscode/settings.json panel update, and use Reset to go back to the defaults.
- Click Copy, paste the result into .vscode/settings.json and commit it.
03Worked examples
- Input:
Minimal preset - Result:
{ "editor.formatOnSave": true, "editor.tabSize": 2, "editor.insertSpaces": true, "files.trimTrailingWhitespace": true, "editor.wordWrap": "off", "editor.bracketPairColorization.enabled": true, "editor.minimap.enabled": false, "breadcrumbs.enabled": false, "editor.stickyScroll.enabled": true, "files.insertFinalNewline": true, "files.trimFinalNewlines": true } - With no formatter and no rulers, those keys are left out instead of being written empty.
- Input:
Python preset - Result:
"editor.defaultFormatter": "ms-python.black-formatter", "editor.tabSize": 4, "editor.rulers": [88, 120], "[python]": { "editor.defaultFormatter": "ms-python.black-formatter", "editor.formatOnSave": true, "editor.tabSize": 4 }, "python.analysis.typeCheckingMode": "basic", "files.exclude": { "**/__pycache__": true }, "search.exclude": { "**/__pycache__": true, "**/.venv": true, "**/*.pyc": true } - Trimmed to the Python-specific keys and reflowed onto single lines. The tool prints full indented JSON.
- Input:
TypeScript React preset - Result:
"editor.rulers": [100], "typescript.inlayHints.parameterNames.enabled": "all", "typescript.inlayHints.functionLikeReturnTypes.enabled": true, "editor.codeActionsOnSave": { "source.fixAll.eslint": "explicit" }, "tailwindCSS.experimental.classRegex": [ ["cva\\(([^)]*)\\)", ...], ["cx\\(([^)]*)\\)", ...] ], "editor.quickSuggestions": { "strings": "on" } - Trimmed. Inlay hint keys appear only because the preset ticks both TypeScript and Inlay hints.
- Input:
Defaults with Rulers set to 80, 0, abc, 120 - Result:
"editor.rulers": [ 80, 120 ] - Zero and non-numeric entries are dropped without a warning.
- Input:
Minimal preset, Word Wrap = Column, Python ticked - Result:
"editor.wordWrap": "wordWrapColumn", ... "[python]": { ... }, "python.analysis.typeCheckingMode": "basic" - Trimmed. No editor.wordWrapColumn key is written, so VS Code uses its default column of 80.
04Common use cases
- Committing one settings file so everyone on a TypeScript team gets Prettier and ESLint fixes on save
- Setting up a new Next.js and Tailwind repo where class suggestions must work inside cva() variant objects
- Configuring a Python service to format with the Black extension and show rulers at 88 and 120
- Keeping node_modules, dist and .next out of Quick Open and search results
- Turning on TypeScript inlay hints for parameter names while onboarding people to an unfamiliar codebase
- Replacing an old codeActionsOnSave value of true with the "explicit" form newer VS Code versions write
05Tips
- Add a .vscode/extensions.json with a recommendations array so VS Code prompts teammates to install the formatter ID you entered.
- Workspace settings override user settings, so keep themes and font sizes out of the shared file.
- If you use the Python preset in a repo that also has JavaScript, delete the top-level editor.defaultFormatter and keep only the "[python]" block.
- When you choose Column for Word Wrap, add "editor.wordWrapColumn" yourself, or VS Code wraps at its default of 80.
- Prettier config files still control how Prettier formats, so keep tab size in .prettierrc and settings.json the same.
06Related concepts
VS Code, settings.json, Workspace settings, Format on save, EditorConfig.
Frequently Asked Questions
What is VS Code Settings Generator?
VS Code Settings Generator is a free, browser-based developer tool on AIDToolStack. Generate VS Code settings.json It requires no installation or sign-up and works entirely in your browser.
Is VS Code Settings Generator free to use?
Yes. No sign-up, no fees and no usage cap.
Does VS Code Settings Generator store my data?
No. It runs in your browser; nothing is uploaded.