Introduction
Visual Studio Code keeps a project’s own
settings in a folder named .vscode, at the top of the project. It holds
up to four JSON files, each with its own page here. A project with several folders
uses a .code-workspace file instead.
A folder dropped on this site is named as a VS Code project when it has a
.vscode folder, and these files open with an Overview of what they set.
Structure
All four are JSON. Comments and trailing commas are allowed, which standard JSON does not permit, so a strict JSON reader can turn them down.
| File | Holds |
|---|---|
settings.json | Editor and extension settings for this project. |
launch.json | Debug configurations. |
tasks.json | Build and other tasks. |
extensions.json | The extensions recommended for this project. |
Not described
Known, not yet covered
- Viewer: the four files open with an Overview of what they set (settings, debug configurations, tasks, recommended extensions). Each setting is shown with its type, default and meaning, read from the source of VS Code itself (
microsoft/vscodeat commit366b0928de, 2026-11-19: the settings its code registers and those of its bundled extensions, about 2,400). A value of the wrong type, one outside the allowed values or range, and a deprecated setting get a note, and so does an ID that the list does not hold (an installed extension may define it). The list does not cover: settings that an extension you install defines; the default of a setting that the source computes (for example per platform), which is shown as computed by VS Code; the allowed values of a setting whose list is built at run time (such as the colour themes); settings that the source registers by a route the reader does not follow (some are built in code, not in a table). The launch, tasks and extensions files are shown as written, without their fields explained, and the settings inside[language]blocks are not looked up.
Links
Software
- Visual Studio Code – Microsoft’s code editor, which reads and writes these files (Windows, macOS, Linux)