I'd like to work on two projects simultaneously. Project A is kind of the core of Project B, but also more general. As I want to work on both at the same time, but let them be distinct (Project A will be used for other Projects as well) I'm kind of struggling on how to setup Project A as a dependency of Project B while also maintaining the ability to edit Project A's files during working on Project B.
I assume the following folder setup:
-projects
-- A (Core)
-- B (Special)
How can I add A into B?
edit: We are talking SBT/non-sbt and only local projects here. One project (the older one/dependency) doesn't use SBT, while the new one (dependent) should.
I just want both projects in the same window so I can add new classes to the core and edit stuff as well without having to recompile everything again and jumping between windows.
You could set up a single project with multiple modules. Also see this: IntelliJ: Working on multiple projects