calva

Wednesdays you might find @U0ETXRFEW in the Gather Calva space. Invite is https://gather.town/invite?token=GZqrm7CR and the password is `Be kind`.
2021-05-22T16:13:26.026200Z

Is it possible to not have Calva put extra line breaks between my repl output? e.g. calling cljs.pprint/print-table

2021-05-22T16:13:36.026700Z

Or just three println in a row

pez 2021-05-22T16:18:16.027100Z

Hmmm.

2021-05-22T16:18:42.027600Z

odd, could i have accidentally borked a setting ?

pez 2021-05-22T16:19:13.028Z

I don’t think so. Let me try with CLJS.

pez 2021-05-22T16:21:24.028500Z

Same withe CLJS here. Are you on Windows?

2021-05-22T16:21:29.028700Z

yes

pez 2021-05-22T16:22:51.030100Z

Yes, we have established that before, come to think about it… What’s the Line End Sequence setting of the repl window file? (You see it right beside the file type.)

2021-05-22T16:23:35.030200Z

2021-05-22T16:23:43.030600Z

where do i see the line end sequence?

pez 2021-05-22T16:24:10.030700Z

2021-05-22T16:25:59.031Z

2021-05-22T16:26:10.031400Z

hmm, i ahve CRLFand you have LF

pez 2021-05-22T16:26:24.031700Z

Yes, but that is as it should.

2021-05-22T16:26:48.032500Z

yeah, changing it did this

2021-05-22T16:26:50.032600Z

pez 2021-05-22T16:27:11.033100Z

I was thinking that if you had LF then maybe when both CR and LF ends the lines it would produce two newlines.

pez 2021-05-22T16:27:50.034100Z

Changing it throws Calva’s parser out of wack. You’ll need to close the repl output and open it again.

pez 2021-05-22T16:29:24.035500Z

See how it behaves in a plain minimal project. Like what if you open a new VS Code window and start a standalone REPL, or the Getting Started REPL.

2021-05-22T16:29:42.035900Z

let me check, ill try clojure, not clojurescript

pez 2021-05-22T16:30:19.036500Z

Yeah, I’ve not added standalone ClojureScript REPLs yet.

2021-05-22T16:43:47.036900Z

back to this error about not being able to parse "0.8.3"

2021-05-22T16:43:48.037200Z

weird!

2021-05-22T16:43:52.037400Z

must be a cljs thing?

pez 2021-05-22T16:45:00.038200Z

The way to fix that error is to use some other Java than the Oracle one.

pez 2021-05-22T16:45:16.038600Z

Try with a plain CLJS project also.

2021-05-22T16:45:42.038900Z

this is my java, do I just install something like openJDK ?

pez 2021-05-22T16:46:27.039600Z

The important thing is that you don’t use Oracle’s installer.

2021-05-22T17:25:51.040400Z

yeah, must be cljs

2021-05-22T17:25:57.040600Z

a basic cljs shadow project

pez 2021-05-22T17:26:55.041600Z

The way to try a plain ClojureScript project is to create a project structure as instructed here: https://clojurescript.org/guides/quick-start then jack in using deps.edn + ClojureScript built-in for node

2021-05-22T17:36:25.042300Z

gah, i get the parse error again tryign this. Right, it's time to fix my java 😄