Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do i change the default folder in WebStorm?

When I open WebStorm and click the "Open" icon, WebStorm suggests to open files from the C:\users\USERNAME directory: Screenshot

How do I change this default directory to a different one?

I have read the following post which helps to set the default directory when creating a new project: How to change PHPStorm 8 default new project location?

But it does not explain how to set the default directory when opening a project.

Thanks in advance.

like image 635
Dor Amar Avatar asked Dec 22 '15 09:12

Dor Amar


2 Answers

To change the default folder go to File - Settings or (Ctrl-Alt-S).

Then change default directory to your path.

Then apply and save.

I uploaded the print-screen to visualize this process.

type your directory

like image 65
Qui-Gon Jinn Avatar answered Oct 04 '22 05:10

Qui-Gon Jinn


When using File/Open, WebStorm normally opens the last chosen directory. But, when opening a folder for a very first time, it opens your %HOME% directory. You can try passing different %HOME% to WebStorm using "-Duser.home=<path to your new home>" , but this will change WebStorm default configuration storage location and affect other functionality that relies on user home value

like image 22
lena Avatar answered Oct 04 '22 05:10

lena