Fork me on GitHub
#cider
<
2022-11-23
>
pmooser17:11:10

I'm just starting to use CIDER with cljs, and I'm running into a problem. Using cider-connect and cider-connect-cljs, I connect to a clj and cljs process. I have a cljs buffer open, as well as 2 repl buffers. If I click on my clojure repl, it will immediately update my cljs buffer so that the modeline will say "not connected". If I click again on the cljs repl, the cljs buffer will update to show its correct connected state again. Any idea why cider is doing this, or how I can address it ?

Jelle Licht19:11:46

Or something else entirely 😅

pmooser08:11:43

Hmmm, it could be ! Interesting. Thanks for the info.

mister_m22:11:29

Is there any way to customize how the inspector "inspects" certain types of data I ask it to inspect? For example, if I provide the inspector a binary tree could I customize it to show a graphviz representation of it? This would probably need a significant amount of glue.

mico07:11:51

This could be an interesting feature!

mico07:11:09

The documentation is pretty limited for the inspector and there are no references to this kind of customization. I guess currently when you run inspect it will execute cider-inspector--render-value at the end (check out https://github.com/clojure-emacs/cider/blob/master/cider-inspector.el ) and there a few function right after this definition which might be interested to you.