我按照these步骤为IntelliJ想法配置一个项目。sbt版本和scala版本。 intellij想法与sbt-idea插件的项目配置
addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.2.0")
我用sbt-idea为SBT版本0.12,固定bug的理念。
当我在我的项目目录中输入sbt
时,我注意到它使用了scala 2.9.2 ..但我将为我的项目使用scala 2.10.1。
问题:
是否有意义使用的插件(S)(~/.sbt/plugins
)-compilation其中斯卡拉版本,或者我应该使用一个/同阶版本的一切?我可以更改插件的scala版本吗?
所以,我创建了~/.sbt/plugin/build.sbt
文件与提到的内容。