I’m not sure if this is a feature request (or a request for support) so putting it in here.
Essentially I want to hide .js
files and .d.ts
files, but only if there is a matching .ts
file. This is because most of the time I’m working with JavaScript, but every now and again I need to work with something else (such as TypeScript) which transpiles into JavaScript. The downside is my navigation bar becomes very cluttered and goto file is harder to use. Example:
api.ts
api.d.ts // should hide
api.js // should hide
lambda.js // should not hide
Is there a way to conditionally hide a file? If not I’d like to raise a feature request. This is something I managed to achieve within VSCode like this for reference:
files.exclude": {
"**/*.js": {
"when": "$(basename).ts"
},