I have a TypeScript project that I edit using Visual Studio Code, and I found that I can exclude files from Quick Open (cmd+P
) by configuring files.exclude
like this
"files.exclude": {
"dist/**/*.js": true
}
This hides from me the compiled files when I use Quick Open which is what I want. The problem is that, this code also hides the file from the File Explorer.
Is there a setting that excludes the files from Quick Open and Search but still list them in the explorer? Ideally using a dim color indicating "private", like atom does.
please try,
"search.exclude": {
"dist/**/*.js": true
}
Open settings (cmd/ctrl + ,) and then search for "exclude" and press "Add Pattern"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With