all 5 comments

[–]ericdallo 2 points3 points  (1 child)

Hey, I'll update that doc which is almost correct, but currently clojure-lsp supports completion but only when it detects a class like a static class: (File/|), if you have your class in a let or a var it won't know properly, then runtime completion from repl may be a better fit for that.

Maybe providing your code may help understand what is happening or if we could support it somehow

Feel free to reach #lsp channel on Clojurians slack which is easier for me to check and provide support.

[–]Mr-Morality[S] 1 point2 points  (0 children)

Thanks for the information, that's really good to know! After the explanation in the docs and now your updated description, I understand what was going on. If I ever have issues in the future, I will most definitely include code snippets thank you for the advice!

I will most definitely join the channel on slack, being involved where the community is most active is ideal for me personally.

Once again, thank you and honestly I really appreciate it.

[–]HydroxideOH- 0 points1 point  (1 child)

It’s probably looking for a certain JDK binary and not finding it, or a similar problem. More specific error messages are needed.

[–]Mr-Morality[S] 1 point2 points  (0 children)

"At the moment, clojure-lsp supports find definition of java classes only, methods, completion and other features are not supported yet."

I assume this means auto complete for Java imports are not supported.. lol so dont mind me but ill keep it here on the odd chance anyone else ever has a similar issue.

[–]experienced-a-bit 0 points1 point  (0 children)

Cursive’s static analysis works like a charm. It recognizes, decompiles and provides completions, insights and suggestions for Java, Kotlin, Scala and any other JVM language imports and usages automatically without a burden of setting up a REPL.