This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-07-03
Channels
- # announcements (13)
- # babashka (1)
- # beginners (4)
- # calva (13)
- # clojure (13)
- # clojure-europe (12)
- # clojure-norway (2)
- # community-development (7)
- # conjure (9)
- # core-typed (5)
- # cursive (5)
- # data-science (15)
- # datomic (2)
- # fulcro (10)
- # hyperfiddle (3)
- # leiningen (1)
- # missionary (65)
- # nbb (6)
- # off-topic (3)
- # shadow-cljs (11)
- # specter (3)
- # vim (8)
How can I make the data to be pretty print by default? I am on cljs, and the content is not formatted. My configuration:
"calva.prettyPrintingOptions": {
"printEngine": "pprint",
"enabled": false,
"width": 120,
"maxLength": 50
},
The *a
object is a response from the js axios package.You’ve got enabled: false
right in the middle of that config, perhaps that’s the problem?
I experience this sometimes too. I think it might be related to JS objects being in the result
Also, just to rule this out, make sure you’re using jack-in or at least including cider-nrepl in your repl dependencies. I realized in the past that that’s why it wasn’t working for me, but the problem I experience sometimes now is even with cider-nrepl included. https://github.com/BetterThanTomorrow/calva/issues/1259