Where to set "default project path"?

I have a folder "W:\projects" where I place all my web projects (including PhpStorm projects). Is there a way to set this as the default path as oppose to "C:\Users\username" when I click 'Open' or 'Create New Project"?

I have looked in settings, such as:

Appearance & Behavior->System Settings: nothing for default paths

I've looked under 'Editor' for something about default path settings -- nothing.

I've even looked in Environment variables with no success.

Regards,
Rich

7 comments
Comment actions Permalink

Hi there,

There is no GUI/settings for that.

For me, if I create brand new empty project then after restart IDE will offer that last path as default path by default.

In v8 and below you could do something like this (edit config file directly): http://stackoverflow.com/a/26074046/783119


For v9 (checked in 9.5 EAP build) the path has changed -- now it's in recentProjectDirectories.xml file -- look for  <option name="lastProjectLocation" value="LAST_PATH_HERE" /> entry

1
Comment actions Permalink

Humm... tried your suggestion with EAP 143.279. I made the change to:

    <option name="lastProjectLocation" value="W:\projects" />

When I click Open the directory showing is: C:\Users\developer

When I click Create New Project I am getting: W:\projects\untitled (yessss!)

However with 9.0.2 I made the change to:

    <option name="lastProjectLocation" value="W:\projects" />

When I click Open the directory showing is: C:\Users\developer

When I click Create New Project, I am getting: W:\projects\untitled (Yess!)

Is there a place where I can place a 'request for change' to allow a setting for the default new project path and default setting for 'Open File or Project' ?

Regards,
Rich.

2
Comment actions Permalink

Thanks! I added my thoughts to IDEA-84622 Default "Open directory/project" path and better navigation requesting a GUI path setting for both 'Create New Project' and 'Open'.

For the IDEs that I used, this has always been included with the settings.

Rich.

0
Comment actions Permalink

any news on this?

0
Comment actions Permalink

@Ralph de groot

Settings/Preferences | Appearance & Behavior | System Settings | Default directory

1
Comment actions Permalink

In WebStorm, setting this preference doesn't take effect until app restart, at least as of v2020.1

0

Please sign in to leave a comment.