Fork me on GitHub
#cider
<
2021-06-15
>
bartuka17:06:59

do we have support for goto-definition of java libraries?

vemv03:06:34

yes the work is there and correctly implemented AFAICT. It's only a matter if adding the JDK sources (if missing) and the dep tree's "sources" artifacts. I have work in this area that we hope will make it to CIDER soon enough :)

👍 6
bartuka19:06:05

@U45T93RA6 the JDK sources are added through the variable cider-jdk-src-paths , correct? But how about java libraries used as dependencies?

vemv15:06:08

1) I guess so! https://github.com/clojure-emacs/cider/blob/8f51546c0efb36226c4bae7d65465b0e0aa8c06f/cider-util.el#L808 2) via https://github.com/threatgrid/clj-experiments/tree/master/resolve-java-sources-and-javadocs . It works just fine today, have used it the whole year. But before advertising it I'll want to move it to clojure-emacs and maybe tweak this and that. Will be done in 2 weeks

bartuka21:06:42

😮 this is amazing. Thanks for this work @U45T93RA6

🙌 3