+1 for this. I've been hoping for something like this to be able to exclude a "node_modules" folder from search in a project, while still including it in the side panel for manual browsing. This would be a great addition.
I was hoping that something like the following would work when doing a search within a project, but it doesn't.
Right now I have to manually add in a custom pattern in "where" when doing a "Find in Files...".
*.hbs, *.scss, *.less, *.html, *.cshtml, *.js, *.json, -node_modules
Another thing that would be great would be to add in an inverse command for indexing only certain types of files, while being able to keep file patterns not included in your project.
"index_include_patterns": "*.hbs", "*.scss", "*.less", "*.html", "*.cshtml", "*.js", "*.json"]