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:
- Select
Project Filessection of the side panel (Projectsection does not offer the needed config menu) - Click on the gear icon to configure

- Select “Edit Scopes” from that menu
- Add a new Scope
- Set the Pattern to an appropriate filter to exclude the
*.jsand*.js.mapfiles (I am using!file[my-root-folder]:app//*.js&&!file[my-root-folder]:app//*.js.map) - You can select this scope as a section of the side panel (instead of
ProjectorProject Files) under the name you set the scope.