idea-composer-plugin
                                
                                
                                
                                    idea-composer-plugin copied to clipboard
                            
                            
                            
                        `Create directory` instead of `create file`
Hey.
I'm on 2019.2 EAP and I have this issue, where a non-existing file in composer.json will want to create a new folder with that name.
https://twitter.com/phpstorm/status/1146075009036820481
This is the exact version: https://confluence.jetbrains.com/display/PhpStorm/PhpStorm+192.5438.24+Release+Notes
Hi, thanks for reporting. Can you provide me snippet of composer.json file and point me where exactly the issue is? Is it autoloading section of composer.json file or maybe somewhere else? Provided screenshot doesn't give me enough information.
Oh, sorry, I thought it will unfurl the whole thread.

Yes, is the autoloading->files section in composer.json.
Thanks a lot. I will have a look at this today.
I checked and for such case there are 3 quick fixes available: "create file", "create directory" and "remove entry". New gui in EAP shows only first one (in alphabetical order), the rest quick fixes are available under "More actions..." link. The reason why both:"create file" and "create directory" quick fixes are available for this case is that this is generic feature and is used in a lot of places inside composer.json file. In few places you expect files, in few directories and in other ones both. I will have a look if this feature could be more smart and suggest quick fixes depending on the context.