This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-07-13
Channels
- # announcements (1)
- # babashka (29)
- # beginners (64)
- # calva (4)
- # cider (5)
- # cljs-dev (3)
- # cljsrn (2)
- # clojure (100)
- # clojure-australia (2)
- # clojure-conj (7)
- # clojure-dev (9)
- # clojure-europe (31)
- # clojure-germany (1)
- # clojure-nl (2)
- # clojure-uk (13)
- # clojured (2)
- # clojurescript (62)
- # community-development (2)
- # conjure (1)
- # cursive (21)
- # datomic (39)
- # events (2)
- # fulcro (7)
- # graalvm (24)
- # graalvm-mobile (11)
- # holy-lambda (3)
- # jobs (7)
- # lsp (15)
- # malli (26)
- # music (1)
- # nyc (2)
- # off-topic (18)
- # reagent (23)
- # reitit (5)
- # remote-jobs (1)
- # shadow-cljs (2)
- # tools-deps (26)
- # vim (6)
- # xtdb (17)
how do i get pretty printing in *cider-result*
for clojure*script* repls? it's already working in my clojure repl.
I see that at one point there was a cider-repl-print-length
customize variable, but it doesn’t seem to exist any longer.
With Leiningen, it was possible to set this value in project.clj. The suggested (by Alex Miller) means of doing the same thing with deps.edn is {:main-opts ["-e" "(set! *print-length* 100)"]}
. However, this doesn’t work with CIDER for me, presumably because the nREPL server is running in a different thread than the one in which that set!
is run.
Any tricks for getting this set by default in my CIDER REPLs?
i see this in the docs: https://docs.cider.mx/cider/1.1/usage/pretty_printing.html#print-options