Set file as generated or child of other file

Hi,

I found it difficult to find an answer to this, since I'm not sure what it's called when, for example, a minified JS is shown as a child of JS file with the same name with the exception of the .min part.

I've got a file watch that let's me generate webp files of some of my images, and I was wondering if I could set the generated webp files as a child of the source file.

Is there a way to this?

 

Sincerely,

Niels

1 comment

I found what I was looking for. It's called File Nesting...

WebStorm documentation, but also works for PHPStorm:

https://www.jetbrains.com/help/webstorm/file-nesting-dialog.html

3

Please sign in to leave a comment.