Create a file group by extension

Hi,

When we use scss files with file watcher, the project creates a file structure (see attached image) with the scss and the children css and map files.


> style.scss
>> style.map
>> style.css

Is there any way to create custom file groups? For example, using angular 2, the spec file should be in the same folder of the tested file:

> my-app.component.ts
> my-app.component.spec.ts
> my-app.component.html
> my-app.component.css

How can I tell webstorm that I want to see the spec file inside the main ts file?

Thanks!

1 comment
Comment actions Permalink

Hi there,

Upcoming 2016.3 version will have most common scenarios nested by default without the need for File Watcher. Your particular scenario does not seem to be in the defaults (can be seen here: https://youtrack.jetbrains.com/issue/WEB-21873#comment=27-1515879 )

https://youtrack.jetbrains.com/issue/WEB-17977 -- this ticket is about providing user interface to be able to manually manage such rules. Watch this ticket (star/vote/comment) to get notifications on any updates.

https://youtrack.jetbrains.com/issue/IDEA-113347

1

Please sign in to leave a comment.