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`.
Neil Ashton 2020-12-21T13:29:58.298100Z

I’m using Calva on a codebase with namespaced keywords, and it seems like calva-fmt is still having issues with them: https://clojurians-log.clojureverse.org/calva/2020-01-28/1580201717.133200 – @pez, just curious, did you ever look into @borkdude’s suggestion of swapping in rewrite-clj?

pez 2020-12-21T14:42:23.298900Z

We should fix that for sure. There was an effort somewhere, by someone….

pez 2020-12-21T14:43:37.299300Z

Here… https://github.com/PEZ/cljfmt/pull/2

pez 2020-12-21T14:45:34.300300Z

(I am just assuming that rewrite-cljc is used upstream, though…)

lread 2020-12-21T14:48:51.301400Z

Ha! That cljfmt issue is why I started work on rewrite-cljc so many moons ago.

pez 2020-12-21T16:11:21.303100Z

Yes! Very nice! I should probably finish this myself, but it is sometimes a bit of a block for me when someone has started with gusto, then things are left a bit in limbo….

lread 2020-12-21T19:05:07.303900Z

I promise to get back to it after I get an official release of rewrite-cljc out.

pez 2020-12-21T19:59:00.304700Z

For the record, I am taking about the cljfmt fork. 😀

pez 2020-12-21T20:00:01.305800Z

I should be able to use unofficial versions of rewrite-cljc.

lread 2020-12-21T20:00:58.306500Z

Ah! Got it. Rewrite-cljc not being up on clojars yet is a distribution problem for some.

Neil Ashton 2020-12-21T20:07:46.307300Z

Thanks, both of you, for giving it some attention!

ghosttoaster 2020-12-21T20:37:45.308300Z

Is it possible to specify a different version of java for my clojure project? I'm having an issue where my java.home is set to java 11 but the clojure project I'm working on requires java 8.

pez 2020-12-21T22:03:27.309100Z

@cdimara I use sdk-man for that.

ghosttoaster 2020-12-21T23:37:39.310900Z

@pez yes so do i. I realized that calva ignores java.home in the repl and uses whatever the terminal uses. so i just switched up my sdkman default in the terminal and it worked!