When using WebStorm without the built-in TypeScript Compiler (e.g. because you are running an Angular2 project with their npm start
script which does the compiling already) and the other method doesn't work, you can configure your own filtered "Project" panel for WebStorm:
Project Files
section of the side panel (Project
section does not offer the needed config menu)*.js
and *.js.map
files (I am using !file[my-root-folder]:app//*.js&&!file[my-root-folder]:app//*.js.map
)Project
or Project Files
) under the name you set the scope.