Clojurians
#cider
<
2016-05-08
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

benedek17:05:56

@dottedmag: you want to set cider-jack-in-lein-plugins if you want to hack in a custom cider-nrepl version

tjg19:05:59

When embedding an nrepl in my app, how do I make it use the refactor-nrepl middleware?

jcsims20:05:24

@tjg: I tend to use wrap-refactor: https://github.com/clojure-emacs/refactor-nrepl/blob/master/src/refactor_nrepl/middleware.clj#L132 and wrap the handler provided by cider-nrepl

jcsims20:05:10

i.e. when you pass in the handler to nrepl-server/start-server here: https://github.com/clojure-emacs/cider-nrepl#via-embedding-nrepl-in-your-app

tjg20:05:42

@jcsims: Thanks, trying it out!

bherrmann23:05:20

bah. emacs-24.5 M-x package-install [RET] cider [RET]

bherrmann23:05:34

emacs says, [Not Found]

bherrmann23:05:09

package-refresh-contents - doest complete..... just says... Contacting host: http://elpa.gnu.org:80

bherrmann23:05:10

err. Duh.. not clear from the cider docs.... but you have to enable http://stable.melpa.org/#/getting-started