I’ve got a small problem only when using a cljs repl with cider. When I use cider-pprint-eval-last-sexp
, I sometimes get the evaluated data structure in one line, which makes it very hard to read esp when dealing with a big one.. Do you guys know how to work around this?
it works for cljs for me
we don't use shadow though, we use clj
Yeah not working in shadow in my proj :)
Other alternatives are Portal and Reveal. Or raise an issue against cider (sorry, I don't have any specific ideas for this)
Do you use shadow-cljs? If so, try setting nrepl-pprint
to true
: https://shadow-cljs.github.io/docs/UsersGuide.html#_repl_3
If you're not using shadow-cljs, then maybe this can point you to the right direction: https://github.com/nrepl/piggieback#pretty-printing
thanks for the pointers!
Use the cider-inspect tool to view / navigate data structures