Fork me on GitHub
#lsp
<
2021-09-06
>
Ory Band11:09:15

Hi. Asking the question here as well since it's related https://clojurians.slack.com/archives/C0DF8R51A/p1630926396021900

ericdallo12:09:19

There is no java go to definition ATM

ericdallo12:09:04

This is something @U04V15CAJ and I are working to add to clojure-lsp + clj-kondo

Ory Band12:09:14

thanks for the answer eric. are there any plans to add it? is there github issue to subscribe to? (didn't find one)

Ory Band12:09:37

out of interest, why is kondo relevant to solve my problem?

Ory Band12:09:11

also, is decompiling java classes relevant? the most common scenario i'm encountering is writing cljoure and sometimes wanting to jump to java src, where i only have jars only with compiled classes. this project seems related but i'm no java expert to really understand what's going on there https://github.com/dgileadi/vscode-java-decompiler

ericdallo12:09:14

Most clojure-lsp features rely on clj-kondo analysis (not the lint itself)

ericdallo12:09:09

Probably the first version should work only with jars which contains java source code, but @U04V15CAJ may confirm that

ericdallo12:09:27

In the future we could add some decompile or stubs like cursive does

Ory Band12:09:55

ok. thanks for the thorough answer ❤️

Ory Band12:09:22

yeah, i was looking to have cursive-like behavior. i'm envious of all my intellij coworkers

Ory Band12:09:56

i think intellij/cursive downloads the sources in the background and opens them up for you, since all the information for locating them is available in the pom file

ericdallo12:09:31

Yeah, AFAIK this is the only missing feature on clojure-lsp that cursive has

ericdallo12:09:53

But clojure-lsp has code lenses which cursive doesn't have :p

Ory Band12:09:00

what is a code lense? O_O

Ory Band11:09:29

And regardless, clojure-lsp is amazing, i get so much productivity out of it. keep up the good work 💪

thanks 4
🚀 2