Fork me on GitHub
#calva
<
2020-12-21
>
Neil Ashton13:12:58

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?

pez14:12:23

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

pez14:12:34

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

lread14:12:51

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

pez16:12:21

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….

lread19:12:07

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

pez19:12:00

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

pez20:12:01

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

lread20:12:58

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

Neil Ashton20:12:46

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

ghosttoaster20:12:45

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.

pez22:12:27

@cdimara I use sdk-man for that.

ghosttoaster23:12:39

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