Fork me on GitHub
#cider
<
2018-09-19
>
bbrinck02:09:40

I’m trying to figure out a way to intercept the error messages thrown by clojure and convert them to present something more useful for beginners. I’m struggling to find a viable strategy for CIDER REPLs.

bbrinck02:09:01

I looked at having users start a sub-REPL, but this ticket indicates it won’t work with nREPL (so won’t work with CIDER) https://dev.clojure.org/jira/browse/CLJ-2040

bbrinck02:09:57

my other option is to try to build out nrepl middleware? Or is there an approach I’m not considering. Some CIDER-specific configuration? Any pointers are appreciated

richiardiandrea03:09:08

Middleware is probably the most viable option that I know of, Bohzidar will better answer but orchard is now the place for "cider" logic while cider-nrepl is for wrapping things into middleware. I say orchard because it could easily be used with prepl when it happens.

richiardiandrea03:09:41

I can probably help with the cljs side once the idea is flashed out a bit. Opening an issue in cider is probably a good idea to keep track of the conversation

isaac07:09:04

start cider-nrepl with a client how to?

dominicm07:09:33

With cider 18, what is the current solution for having a repl when you jump to the source of a library?

dominicm07:09:02

sesman-link-with-buffer ?!

plexus14:09:30

I usually do sesman-link-with-directory, but yeah it sucks that you have to do this manually

jumar09:09:02

I use sesman-link-with-buffer. It sucks, but I've found that I don't do as often as I thought.

dominicm12:09:31

Edge has been redesigned around the local dependencies feature of edge, so we jump in a lot.

dominicm07:09:42

Also, what's the approach for selecting which figwheel build the clojurescript should connect to?

dominicm07:09:03

It would appear that the cider source code is hard coded to a run cljs-repl without parameters.

sb16:09:23

possible run parallel clj and cljs repl in the same session?

sb16:09:17

Now, I start clj and after this with cljs-start but how to see exactly both in emacs?

sb16:09:32

(Maybe beginner question)