Fork me on GitHub
#announcements
<
2022-03-31
>
mpenet08:03:56

New https://github.com/exoscale/coax is out: 1.0.0-alpha19 (cljs bugfix with double/long coercion). Thanks to @anthony-galea

🎉 8
ericdallo17:03:18

clojure-lsp Released new https://clojure-lsp.io/ 2022.03.31-14.21.14 with a new long waited feature: Java interop support 🎉 Now, finding java class definitions are possible even if the source code is not available, clojure-lsp will decompile it for you! This was a huge work done with the help of @borkdude from the #clj-kondo side, hope you all like it :) This release was supported by https://www.clojuriststogether.org/ clojurists-together gratitude For more information about this release, check #lsp

gratitude 14
🤯 28
clojurists-together 8
sci 5
clj-kondo 5
clojure-spin 7
clojure-lsp 2
❤️ 9
🎉 66
russmatney17:03:19

amazing!!!

gratitude 2
Cora (she/her)19:03:19

daaaang, so good!!

🚀 2
Janne Sauvala19:03:07

Super awesome! I'm interested in the solution how you made this possible

ericdallo19:03:55

Sure @UJZ6S8YR2 , the decompilation works using https://www.benf.org/other/cfr/, which output a .class file to a .java :)

ericdallo19:03:09

thre rest is more navigation and making good defaults

Janne Sauvala20:03:48

Nice 👍:skin-tone-2: this is one of the features I have been waiting. Congrats for the release!

borkdude20:03:21

And many more improvements to come, also powered by clj-kondo analysis clj-kondo 🚀 :)

💪 13
flowthing06:04:40

Awesome! Is navigating directly to static/instance method impls in the cards?

borkdude06:04:38

Yes, in the coming months

flowthing07:04:37

Very nice! That'll be a big step forward for doing Java interop in editors other than Cursive. :thumbsup:

vemv08:04:19

> other than Cursive The cider-nrepl family of editors also has these features around the corner. They're there really, as they have for a pretty long time, but we just need to reliably deliver one of the last missing pieces

👍 4
mpenet16:04:59

Doesn't cider have this already? I remember at least that it has completion

mpenet16:04:20

At least on static members, enums etc

mpenet16:04:52

Not sure about jump to def & co, I was not really using that before using lsp

borkdude16:04:31

@U050SC7SV Not sure if CIDER also decompiles .class files ;-)

borkdude16:04:52

As always, there will be overlap between these tools

mpenet16:04:03

Yeah I recall only seeing that for clojure java stuff actually

vemv16:04:51

The decompilation thing seemed a bit odd to me, wrapping https://github.com/clojure-goes-fast/clj-java-decompiler is pretty easy (and part of my workflow for tough bugs or random curiosity) but considering a decompilation a fallback for "jump-to" is a bit surprising > Doesn't cider have this already? I remember at least that it has completion Yeah completion is there, https://github.com/alexander-yakushev/compliment/ provides it