Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ IDEA Change default Content Root for new projects.

When I create a new project in IntelliJ IDEA (on Windows), the Content Root (where the project will be stored) defaults to C:\Users\<username>\IdeaProjects\<projectname>

I can change the path as I create the project, but is there anyway to change the default, which I would like to be S:\IdeaProjects\<projectname>?

like image 914
Steve Waring Avatar asked Sep 28 '22 07:09

Steve Waring


1 Answers

For suggesting new project's folder, IDEA uses either last projects location or one constructed by user home and IDE's name (in your case C:\Users\\IdeaProjects).

So once you've chosen your project folder to be "S:\IdeaProjects\", when creating next project IDEA will suggest this folder to you by default.

Apart from that, I do not know about a explicit setting for default project location.

like image 72
Ivaylo D. Ivanov Avatar answered Dec 17 '22 16:12

Ivaylo D. Ivanov