I am strugglling to open multiple Gradle
projects in same IntelliJ
instance without luck.
I tried to open second project as a module by importing it but still it's asking me to open in the same window and in a new window. So If I give same window, it replace the project that already in.
Any one can advice?
My IntelliJ version is IntelliJ IDEA 12.1.4
In the IntelliJ window where you currently have a single Gradle Project open, do the following:
You can repeat these steps for as many Gradle Projects as you like and have multiple Gradle Projects open in the same IntelliJ window.
Step 1:
Step 2:
Step 3:
Result:
See https://stackoverflow.com/a/57791201/90580
Currently in IntelliJ IDEA 2019.2 you can add the gradle subprojects like so
The sources of the subproject will be recognized by IntelliJ and you can use Navigate Class action for the classes in the subproject
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With