1 min read
Open multiple projects in Intellij
Most IDEs provide workspaces that contain multiple projects and thus enable you to work on mutliple projects in one instance of the IDE. IntelliJ, which has becom the defacto standard for Java Devs, does not support workspaces. So, how is it possible to open mutliple projects in one IntelliJ instance?
Well, it is quite simple. In context of IntelliJ you can replace the idea of wokspaces with projects and projects with modules. An IntelliJ project can contain multiple modules.
Let’s put this to practice. I assume you have checked out multiple project, lets say at
Create a new project called root. at
/local/projects/root in IntelliJ.
Next add a new module from an existing source:
- File > New > Module from Existing Sources…
- Select the project e.g.
- If available select the build.gradle or another file that indicates the project model.
- Finish the wizard
Now the module/project should be loaded in the top level of the root project folder. Depending on the project model IntelliJ should detect features and configure it accordingly.
Source: StackExchange - SuperuserCategories: Software development
Tags: intellij , java , gradle
Improve this page
Show statistic for this page