1

我是 Emacs 的新手。

我已经使用M-x package-install然后安装了 ensime ensime

通过在 Emacs 中执行ensime命令并给出项目路径(gen-ensime在其上执行),我得到以下错误:

Debugger entered--Lisp error: (error "check that sbt is on your PATH and that your config is compatible with http://github.com/ensime/ensime-server/wiki/Example-Configuration-File [(wrong-type-argument stringp nil)]")
  signal(error ("check that sbt is on your PATH and that your config is compatible with http://github.com/ensime/ensime-server/wiki/Example-Configuration-File [(wrong-type-argument stringp nil)]"))
  error("check that sbt is on your PATH and that your config is compatible with http://github.com/ensime/ensime-server/wiki/Example-Configuration-File [(wrong-type-argument stringp nil)]")
  (condition-case ex (ensime--1) ((quote error) (error (format "check that sbt is on your PATH and that your config is compatible with %s [%s]" "http://github.com/ensime/ensime-server/wiki/Example-Configuration-File" ex))))
  ensime()
  call-interactively(ensime record nil)
  command-execute(ensime record)
  execute-extended-command(nil "ensime")
  call-interactively(execute-extended-command nil nil)

SBT 0.13.6 添加到路径中,当我键入ensime-sbt-commandC-j在 Lisp-Interaction 窗口中显示 SBT 路径时。

我的项目 SBT 版本是 0.13.5,Scala 2.11.1,Play 2.3.3,ensime-sbt 0.1.5-SNAPSHOT。

Emacs 版本是 24,ensime 版本是 20141101.910。

4

1 回答 1

0

不幸的是,我给出了文件夹路径而不是 .ensime 文件路径。这就是解决的问题。

更多信息

于 2014-11-19T19:24:25.757 回答