How do I change the default "Open" directory in the WebStorm initial splash screen?

When the Webstorm (2017.3.4) splash screen appears, how do I change the default directory where the "Open" dialog starts from?

Currently, it defaults to %HOME_DRIVE%\%HOME_PATH%, but I want it to permanently change to c:\projects\

I have searched the WebStorm help system with the following search terms but have not found an answer to my question:

"default open path"

"default open directory"

"default project directory"

"default project path"

0
2 comments

Default project directory is always %HOME%/WebstormProjects - it can't be altered (https://youtrack.jetbrains.com/issue/IDEA-151727). But once you have chosen another location once, it is suggested for other projects as well. So it doesn't look like a big issue to me...
Note that you can change the default home directory location by passing -Duser.home to WebStorm - just add -Duser.home=<your preferred location> to bin/WebStorm64.exe.vmoptions file. But this change will also affect the default configuration/caches location (https://intellij-support.jetbrains.com/hc/en-us/articles/206544519-Directories-used-by-the-IDE-to-store-settings-caches-plugins-and-logs)

0

I was able to change it by modifying the following using an editor (e.g., Notepad.exe or notepad++.exe) that is running via "Run as Adminstrator":

"C:\Program Files\JetBrains\WebStorm\bin\webstorm64.exe.vmoptions"

to include the following as the last line in that file:

-Duser.home=c:\projects

Now, when I click Open in the splash screen, it defaults to c:\projects.

Now, if only JetBrains would put this somewhere easy to find in their help system...

1

Please sign in to leave a comment.