This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-05-27
Channels
- # aws (7)
- # babashka (145)
- # beginners (83)
- # calva (18)
- # cider (11)
- # clara (9)
- # clj-kondo (59)
- # cljdoc (4)
- # cljs-dev (4)
- # cljsrn (11)
- # clojure (168)
- # clojure-australia (21)
- # clojure-dev (5)
- # clojure-europe (46)
- # clojure-italy (3)
- # clojure-nl (10)
- # clojure-taiwan (1)
- # clojure-uk (55)
- # clojurescript (85)
- # clojureverse-ops (1)
- # code-reviews (3)
- # conjure (22)
- # cursive (3)
- # datahike (3)
- # datomic (4)
- # emacs (5)
- # helix (20)
- # jackdaw (1)
- # jobs (2)
- # jobs-discuss (7)
- # lsp (1)
- # malli (5)
- # off-topic (85)
- # other-languages (4)
- # practicalli (4)
- # reitit (2)
- # releases (2)
- # sci (62)
- # shadow-cljs (181)
- # testing (5)
- # tools-deps (15)
- # xtdb (31)
Awesome! I noticed a small typo in the browser repl html page: > Validate the connection by evaluating `(js/alert "Hello CLJS!")` in the `clore.clj` file
@U0ETXRFEW You may want to update the screenshot of the html page in the docs, which still has the typo.
Hello, can u help me with pprint on client side? pprint configured by settings.json works pretty well on server side, but in cljs always printing without width/depth quotas
clj
(range 15)
(0 1 2 3 4 ...)
cljs
(range 15)
(0 1 2 3 4 5 6 7 8 9 10 11 12 13 14)
If you're using shadow-cljs, see here: https://calva.io/pprint/#pprint-is-not-working-for-clojurescript
If not, please paste your pprint settings here so we can troubleshoot. I set maxLength to 5 with pprint
and calva
set as the engine, and I got (0 1 2 3 4 ...)
for cljs.
@U9A1RLFNV
> If you're using shadow-cljs, see here:
not working
> please paste your pprint settings here
vscode pprint settings?
"calva.prettyPrintingOptions": {
"enabled": true,
"printEngine": "pprint",
"width": 50,
"maxLength": 5,
"maxDepth": 4
},
how to configure pprint apart for cljs?
also another example with ns
(ns slack-thread)
cljs꞉slack-thread꞉>
(range 10)
(0 1 2 3 4 5 6 7 8 9)
Hmm, are you using shadow-cljs? I know you said that info didn't work, but just wondering if you're using shadow.
If you change printEngine
to calva
does it work?
> how to configure pprint apart for cljs? clj and cljs pretty printing are both configured with that setting
If you continue to have issues, please create an issue on Github with exact steps to reproduce.
> If you change `printEngine` to `calva` does it work? thank you so much don't understand how I could have missed this in the documentation 😞