Open DCKcode opened 10 years ago
Looking around the source code - might this have something to do with my project layout?
projectdir
+---base/
+-------project/
+------------build.properties <-- contains sbt=0.13.5
+-------build.sbt
+---sub1/
+-------build.sbt
+-------project/
+------------build.properties <-- contains sbt=0.13.5
+---sub2/
+-------project/
+------------build.properties <-- contains sbt=0.13.5
+-------build.sbt
My project directory is not an sbt project, but its subfolders are. Is that something that can confuse this plugin?
I've moved everything to a single build.sbt
in the project root, and IntelliJ still cannot find enablePlugins
. Maybe this problem is more general?
@DCKcode - I suspect this is happening in the core intellij sbt support, not this plugin.
I have multiple SBT subprojects depending on a base project. They all need to have enabled the Play plugin for them to compile.
If I do an
sbt run
orsbt compile
in the respective directories these projects build and run just fine. However, when I try to import these projects into IntelliJ by using the native SBT project support, an error is thrown. IntelliJ's SBT plugin fails with the following error:After which the import fails. It seems I encountered a bug?