I'm using Typesafe's sbt-twirl plugin, like this in my plugins.sbt:
addSbtPlugin("com.typesafe.sbt" % "sbt-twirl" % "1.0.3")
I've set only the sourceDirectories in (Compile, TwirlKeys.compileTemplates) context.
I've also added the plugin to my project with:
This compiles my templates just fine with sbt. But making the project with IDEA fails to compile the templates. Compiling Scala files is fine.
Currently this is causing me to start up an sbt instance in a Terminal window everytime I have to work with Twirl, use that to compile them, and then go back to IDEA for everything else.
So, what's the magic incantation to get this to work?