按照此处的安装指南安装 ENSIME for Emacs。我在我的文件中添加了该addSbtPlugin("org.ensime" % "ensime-sbt" % "0.1.5")
行~/.sbt/0.13/plugins/plugins.sbt
并在 SBT 多项目中启动了 SBT。
开始时我收到以下错误:
/myprojectpath/project/project/build.sbt:3: error: value withNameHashing is not a member of sbt.inc.IncOptions
incOptions := incOptions.value.withNameHashing(true)
^
[error] Type error in expression
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?
如果我删除该addSbtPlugin
行,则 SBT 启动正常。