0
遵循安裝指南here來安裝ENSIME for Emacs。我在我的~/.sbt/0.13/plugins/plugins.sbt
文件中添加了addSbtPlugin("org.ensime" % "ensime-sbt" % "0.1.5")
行,並在SBT多項目中啓動了SBT。sbt-ensime與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啓動了罰款。
結束了這樣做https://github.com/sbt/sbt/issues/1592#issuecomment-95178818這似乎工作。感謝您指出問題單! – adelbertc