Navigate : File.. conditionally filter .js when .ts present?

I mostly use Navigate: File.. to open files in my project. I recently found out how to filter out the js/map/css files which is usually great since I mostly work with ts/html/scss files.

However, occasionally I do need to work with js files from imported libraries.

Is there a way to filter out js/map files only when a corresponding ts file is present?

Most of my ts files are exported functions, not classes, so Navigate: Class is not an option.



Comment actions Permalink

You can configure the transpiler to put the generated files in a separate directory and then mark this directory as excluded.
Related tickets:,,

Comment actions Permalink

Good solution. Thank you!


Please sign in to leave a comment.