Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

"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!

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

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
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading