Reputation: 7398
I have a project Project1
that contains the keyword "crash"
in a bunch of files. Most of the occurrences of "crash"
occur in the build/
folder. Is there a way in VsCode to search for instances of "crash"
in the whole project, excluding the build/
folder?
Upvotes: 0
Views: 112
Reputation: 8670
If you go to the search icon, on the left of your screen, you will see a search bar. If you click on the ...
under the search bar, you will see advanced options, in which you can specify file to exclude.
In this field, you can use wildcard to exclude directory and files.
Here is an image of what to look for.
Upvotes: 1