What kind of settings can I use in Visual Studio Code to hide certain .js and .map files ?
You probably don't want to blindly hide all .js
and .map
files, only the ones that are generated from an associated .ts
file like you show in your screenshot.
To conditionally hide them, you're going to want to do this instead:
{
"files.exclude": {
"**/.git": true,
"**/.DS_Store": true,
"**/*.js.map": true,
"**/*.js": {"when": "$(basename).ts"}
}
}
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