Fork me on GitHub
#calva
<
2021-05-27
>
bringe16:05:01

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

bringe16:05:09

^ clore.clj

bringe16:05:27

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

bringe16:05:21

I also merged to published of the dram repo

bringe16:05:10

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

pez16:05:56

Thanks!

👍 3
pez16:05:24

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

😆 3
veschin11:05:19

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)

bringe16:05:10

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.

veschin02:05:23

@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)

bringe02:05:39

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?

bringe02:05:11

> how to configure pprint apart for cljs? clj and cljs pretty printing are both configured with that setting

bringe02:05:26

If you continue to have issues, please create an issue on Github with exact steps to reproduce.

veschin02:05:13

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

bringe02:05:14

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!

pez20:05:58

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