Create new project in WebStorm create directory as `untitled` by default

Issue #1026 resolved
Brett Nelson created an issue

In WebStorm when you create a new project it will use untitled as the default directory if you do not create and pick a new directory before choosing a connection.

In IntelliJ if you create a new project without picking a directory it creates a directory of the same name as the connection.

Getting the same behavior in the WebStorm version of the plugin would be nice.

thanks

Comments (4)

  1. Scott Wells repo owner

    Fix submitted for the next build. Basically the project directory name will be updated to reflect the selected connection name as long as you haven't explicitly changed the directory name at some point.

  2. Brett Nelson reporter

    Thanks for this @RoseSilverSoftware!

    I noticed in Webstorm this will replace the dashes with underscores for the directory name but it IntellJ it keeps the dashes. Not a horribly bad thing but an inconsistency.

  3. Scott Wells repo owner

    Interesting. I'm using their own library call to "sanitize" a display name for filesystem purposes. I wonder if they're using something else. I can take a look at some point shortly and see if it's low-hanging fruit.

  4. Log in to comment