VS Code settings.json Cookbook/Hide build artifacts

Exclude generated directories from explorer and search.

Section: Files and Search

Hide build artifacts

json
json
{
  "files.exclude": {
    "**/dist": true,
    "**/build": true,
    "**/.next": true
  },
  "search.exclude": {
    "**/dist": true,
    "**/build": true,
    "**/.next": true
  }
}

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Files and Search
Auto save after delay
Persist files automatically.
OpenIn sheetjsonsame section
Format on save and paste
Enable automatic formatting helpers.
OpenIn sheetjson1 tag match
Increase terminal scrollback
Keep more terminal history.
OpenIn sheetjson1 tag match
Add rulers
Visual guides for line length.
OpenIn sheetjson1 tag match
Per-language formatter override
Use different defaults for specific file types.
OpenIn sheetjson1 tag match
Disable minimap
Simplify the editor view.
OpenIn sheetjson1 tag match