I typically use the sbt command line to build / test / run my projects.
However occassionally I need to debug them so I will build them with Intellij in that case.
I am auto-generating my .idea projects from my projects sbt files
I notice when I flip between either, both seem to step on each other's toes and require full rebuilds as they are overwriting each other's files in the target directorys (and even the sbt files the project/target directory project/project/target directories)
Is there any way to have intellij output it's files to a separate location than where sbt outputs it's stuff?
Previously I have accomplished this by modifying the iml files with a regex that that replaces stuff like:
<output url="file://$MODULE_DIR$/../../apps/target/scala-2.11/classes" />
<output url="file://$MODULE_DIR$/../../apps/target/idea-scala-2.11/classes" />
is there any what to do this with a setting?
If not is there another suggested work around? The project I am working on is pretty large and having to do full recompiles everytime really slows down development.