简体   繁体   中英

How can I set default project location for all projects in IntelliJ IDEA?

I'm wondering if there is a way to set the default location for all IntelliJ projects, something similar to the workspace concept in Eclipse?

Because I always need to change the IDEA project location when I create a new project.

Required mininum version: IntelliJ IDEA 2018.2 EAP

IntelliJ IDEA 2018.2 EAP (Ultimate Edition)
Build #IU-182.2371.4, built on May 15, 2018
JRE: 1.8.0_152-release-1226-b7 x86_64

ability to specify the default directory for opening projects. In the Preferences | Appearance & Behavior | System Settings in the Project Opening section there is a new Default directory field where you can set a directory.

direct link to open settings: jetbrains://idea/settings?name=Appearance+%26+Behavior--System+Settings

在此处输入图片说明

more:

It's not possible yet (IDEA 16 EAP 144.4199), or the remembering has been disabled for some reason.

I opened https://youtrack.jetbrains.com/issue/IDEA-152061 .

UPDATE the above issue has been fixed and IDEA now remembers last project location.

Vote for https://youtrack.jetbrains.com/issue/IDEA-151727 to have a configuration entry.

  • Intellij's Project is equivalent to an Eclipse Workspace
  • Intellij's Modules are equivalent to Eclipse Projects

Instead of creating different projects in IntelliJ ( & consequently having to change project locations), create new modules within the same project. Just remember to increase the memory settings for the IDE since all the modules within the same project share the memory space.

You can learn more about this from the IntelliJ help section

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM