sbt-ensime与SBT名称哈希不一致

时间:2015-04-21 18:51:50

标签: scala sbt ensime

按照安装指南here安装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启动正常。

1 个答案:

答案 0 :(得分:1)

#1592查看这是一个已知问题,解决方法是吹走~/.ivy2