"search.exclude" is not working in VSCode

I get it there are special cases but I cannot exclude my folder from search in VSCode no matter what I do!

I have this in my settings.json

"search.exclude": {
    "node_modules": true,
    "saving/client/hls/**/*.*": true

and yet I see the results from saving/client/hls/ folder!

that should not be that hard to do it, should it, and yet am banging my head off the wall, it’s 2023 please!!!

>Solution :

The problem here most likely involves the wildcard that you used.

The correct way to ignore all files under that directory is this

"saving/client/hls/**/*": true

Leave a Reply