I've cloned the Spray template project (branch on_spray-can_1.1
) as suggested on Spray's "Getting Started" page, and used sbt-idea to generate a corresponding IDEA project. It builds fine, but when I open my build.sbt
file, the last line makes IDEA unhappy:
seq(Revolver.settings: _*)
It doesn't recognize Revolver
, and suggests importing spray.revolver.RevolverPlugin.Revolver
, which seems reasonable. However, when I do that, it still complains "Expression type (Def.SettingsDefinition) must conform to Setting[_] in SBT file".
Clearly this is not a real problem, or IDEA's (external) make would fail, and/or SBT would complain from the command line. But why does IDEA think it's a problem? Has something changed in recent versions of SBT?
When I look at the SBT 0.13.0 source I notice seq
is deprecated; it says "In build.sbt files, this call can be removed." If I do that, however, Revolver stops working ("Not a valid command: re-start").
FWIW, I'm using SBT 0.13.0 with Scala 2.10.3 and IDEA 12.1.6 on Mint 14.
gen-idea sbt-classifier
when generating the idea project from sbt. – Pompeii