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