Fork me on GitHub

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


^ clore.clj


I changed it to core.cljs on the dev branch of the dram repo.


I also merged to published of the dram repo


@U0ETXRFEW You may want to update the screenshot of the html page in the docs, which still has the typo.



👍 3

Where in the world did clore.clj come from, lol

😆 3

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 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 😞


You're welcome! Though, if you're using shadow and the shadow :repl-pprint setting didn't work, I'm not sure why it didn't. But, I'm glad you have something that works now!


Here’s a friendly reminder that you can contribute to Calva development as a sponsor. The Sponsor button at the Github repo will guide you to our respective sponsor pages where you can read more about why you should consider this option. ❤️

❤️ 9