I wonder if it's worth adding a .vscode/settings.json file to exclude some folders from search? It's still not automated, but you can exclude them in one click.
{
"search.exclude": {
"**/.git": true,
"**/node_modules": true,
"**/documentation/.cache": true
}
}
Originally posted by @flodolo in #4050 (comment)