This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-01-09
Channels
- # announcements (14)
- # babashka (2)
- # beginners (33)
- # calva (25)
- # cider (4)
- # clj-kondo (14)
- # clojure (11)
- # cursive (4)
- # datomic (3)
- # fulcro (53)
- # gratitude (3)
- # integrant (2)
- # leiningen (7)
- # lsp (10)
- # malli (34)
- # missionary (3)
- # off-topic (71)
- # other-languages (18)
- # pathom (1)
- # practicalli (2)
- # releases (1)
- # ring (4)
- # spacemacs (1)
- # vim (14)
Not directly related to LSP, but how can I instruct deps.edn to download java sources so that I can perform jump to definition?
If your talking about the Java JDK source, I download that via my operating system (Ubuntu package) and have a :lib/java17-source
alias in my user wide deps.edn to include the .zip archive of the source in the classpath when starting a REPL
https://github.com/practicalli/clojure-deps-edn#java-sources
Thanks. What about other 3rd part jars? Possible to automatically download the sources? I am aware intellj can do that.
Unfortunately, we don't have find to definition for java classes on clojure-lsl yet, we would need to make some changes on clj-kondo probably. Meanwhile you need the repl to find definition of those