Set file as generated or child of other file


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?




1 comment
Comment actions Permalink

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

WebStorm documentation, but also works for PHPStorm:


Please sign in to leave a comment.