我是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 被添加到路径中,当我在 Lisp-Interaction 窗口中键入 ensime-sbt-command
和C-j
时,它会显示 SBT 路径。
我的项目SBT版本是0.13.5,Scala 2.11.1,Play 2.3.3,ensime-sbt 0.1.5-SNAPSHOT。
Emacs 版本是 24,ensime 版本是 20141101.910。
我提供了文件夹路径而不是 .ensime 文件路径。这就是已经解决的问题。
更多信息