"Collapse" test files under matching javascript files
I've noticed that Intellij Ultimate "collapses" source map files under their matching javascript files which I find convenient and I would like to do the same for my unit test files e.g. Component.spec.js would be collapsed under Component.js. I've tried to find out how to do this or if there is a plugin for it, but have been unsuccessful so far. Has anyone done this before? I'll attach a screen shot of what it looks like for the source map files.
Please sign in to leave a comment.
Hi there,
It's called "File Nesting"
As of 2017.2 version such nesting rules can be configured by user -- look under options for Project View panel (right click on tool window title or under "cog" icon)
Perfect, thanks!