When I start my current project using lein ring server and try to connect to it from Emacs via cider, I get the following warning:
; CIDER 0.8.2 (Java 1.7.0_51, Clojure 1.6.0, nREPL 0.2.6) WARNING: The following required nREPL ops are not supported: apropos classpath complete eldoc info inspect-start inspect-refresh inspect-pop inspect-push inspect-reset macroexpand ns-list ns-vars resource stacktrace toggle-trace-var toggle-trace-ns undef Please, install (or update) cider-nrepl 0.8.2 and restart CIDER user>
However, I have a dependency for [cider/cider-nrepl "0.8.2"] in my project.clj . This works fine when I run lein repl and to which I can connect only differently from cider:
; CIDER 0.8.2 (Java 1.7.0_51, Clojure 1.6.0, nREPL 0.2.6) swedishchef.handler>
I see that I am getting two different messages from leiningen wrt. nREPL, depending on how I start:
[sugarcube->swedishchef]lein ring server See https:
This is the result of working with the cider-nrepl connection:
[sugarcube->swedishchef]lein repl See https://github.com/technomancy/leiningen/wiki/Repeatability) nREPL server started on port 38024 on host 127.0.0.1 - nrepl://127.0.0.1:38024 REPL-y 0.3.5, nREPL 0.2.6
Looking at the output of lein deps :tree , I don't see any problems. So my first question is whether this should work, i.e. If cider-nrepl should override lein ring wrt behavior. to launch nrepl? If so, can someone give some tips for further troubleshooting?
emacs clojure leiningen cider ring
schaueho
source share