I have a project for testing performance between a...
# intellij
b
I have a project for testing performance between a server application and a client application. I have a github repository with a folder for 'server' and a folder for 'client' at the top level. Is it possible to open an intellij project at this top-level where I can make configuration A to run the server application and configuration B to run the client application? I can find some QA answers from 2015 where the team discourages multiple projects in the same window. Is the guideline still to have multiple windows for multiple applications?
m
I do it all the time. The way that I find works best is to create an empty folder. Open IntelliJ, and create an empty project in that folder. Then clone your repo(s) into that folder, and from the Project Structure dialog, start importing the repos as modules. You can then create things for either project. IntelliJ even has an unload/load module feature if you're only working on one for awhile, and don't want open/complete to be cluttered with stuff from another module.
b
Thanks Mike. Based on what you wrote I went to "open module settings", tapped "+", tapped "new module" and then just filled out the folder path as an existing folder. I have two projects running in the same window successfully now! Before I was trying "open module settings", "+", and then "import module" and was worried that making a new module associated with an already existing folder may overwrite those files.
m
Import works too, and is what I use. It will read the folder for build tool information and load automatically. Gradle, maven, npm etc. Intellij is built to support many modules within a project.