Fork me on GitHub
#cider
<
2018-07-22
>
bozhidar07:07:28

@vxe This was extracted to orchard a while ago. orchard is a dependency of cider-nrepl.

👍 1
bozhidar07:07:29

@tsulej I’ve mentioned somewhere in the README that you should ignore the version mismatch and add a dependency to cider-nrepl 0.19-SNAPSHOT somewhere (e.g. in your :dev profile).

bozhidar07:07:38

> The other problem is when I stop nrepl from terminal (cygwin) with ctrl-c, nrepl exits to terminal but java process is left. This is not happen with lein repl (edited)

bozhidar07:07:44

I didn’t really fret on this much - I implemented lein nrepl as simple as possible. The lein repl is pretty complex by comparison, so maybe it does something special to address this on Windows.

bozhidar07:07:44

Generally I hope that at some point someone will just merge the patch for nREPL 0.4 upstream in leiningen and the additional plugin will not be necessary. Unfortunately things are happening pretty slow upstream.

bozhidar07:07:16

> another issue: when I create new clj file (beeing connected to nrepl 0.2.12) sometimes I get namespace not found message. c-c c-k works fine, but c-x e not. I have to close file and load again to get things working. I can’t find conditions to reproduce this, but I get this bug quite often.

bozhidar07:07:17

I can’t imagine how something like this can happen. I’ve never encountered such a problem. If you find a way to reproduce it, please report it upstream.

bozhidar07:07:30

> and last one: how to force cider to reuse repl buffer when I reconnect? Currently cider-connect-clj creates new one, previously I was getting a question if I wanted reuse or not.

bozhidar07:07:43

This was removed in 0.18 and it’s no longer possible. I recall Vitalie felt it made the code much more complex than it needed to be. Feel free to file a ticket to discuss what we can do to address this.

genmeblog15:07:21

thx a lot, when I reproduce namespace not found bug I'll file a ticket

richiardiandrea19:07:47

I read once a very nice guide on the cider middlewares...expecially regarding piggieback and JS eval. I would like to read it again because I am thinking of adding completion for JS requires/objects. Does somebody remember or has one I can look at?

euccastro23:07:08

@bozhidar > As for custom ClojureScript REPLs everything one needs to know is documented here. The doc you link has a "Using the Figwheel REPL (Leiningen-only)" section, but apparently nothing on figwheel-main. Yet when I try and launch / connect to a cljs REPL in 0.18.0-snapshot, figwheel-main is one of the REPL types offered. Is that supported?

euccastro23:07:10

when I try and actually use it, I get prompted for a build name (`dev` in my case) and then I get this exception: "Unable to resolve symbol: dev in this context"

euccastro23:07:43

ha, it seems it expects a keyword (i.e., :dev works)