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. |
Links
Software
- Visual Studio Code – Microsoft’s code editor, which reads and writes these files (Windows, macOS, Linux)