This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-02-03
Channels
- # announcements (2)
- # atom-editor (1)
- # babashka (6)
- # beginners (49)
- # calva (39)
- # clj-kondo (20)
- # clojure (41)
- # clojure-australia (1)
- # clojure-europe (33)
- # clojure-germany (8)
- # clojure-italy (2)
- # clojure-losangeles (1)
- # clojure-norway (3)
- # clojure-spec (5)
- # clojure-uk (48)
- # clojurescript (147)
- # conjure (24)
- # core-logic (1)
- # datahike (6)
- # datomic (14)
- # emacs (10)
- # events (1)
- # fulcro (11)
- # garden (1)
- # girouette (2)
- # honeysql (16)
- # jobs (3)
- # kaocha (3)
- # malli (5)
- # meander (7)
- # off-topic (49)
- # pathom (50)
- # portal (3)
- # reagent (4)
- # reitit (7)
- # rewrite-clj (3)
- # ring (3)
- # sci (4)
- # shadow-cljs (46)
- # spacemacs (10)
- # sql (3)
- # tools-deps (57)
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?
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
Use the cider-inspect tool to view / navigate data structures
Does cider-inspect work for cjls? It throws an error in my last shadow-cljs project, I didn't push further as I thought it was just clojure-only
it works for cljs for me
we don't use shadow though, we use clj
Other alternatives are Portal and Reveal. Or raise an issue against cider (sorry, I don't have any specific ideas for this)