vim

For discussion on all things (neo)vim.
2020-11-20T12:18:22.192700Z

hey folks, what do I need to be able to navigate to java method definitions when using interop

2020-11-20T12:27:48.193100Z

or rather how do you currently navigate to java source code

hugo 2020-11-20T13:17:59.193700Z

You can navigate to clojure source because the clojure source is on the classpath but afaik you normally just have .class files on your classpath and not java source.

2020-11-20T13:36:25.194800Z

Yes , this is possible in intellij since it pulls in the java source code aswell apparently so was wondering what vim folks do

nbardiuk 2020-11-20T14:22:34.196200Z

I've just checked that vim-iced can navigate and show source of java class. And I've used this approach to fetch missing sources using maven https://stackoverflow.com/a/14395560/187261

2020-11-20T15:59:57.197500Z

@zyxmndaleyjes I am sure this is not what you had in mind, but I tend to use the javadoc function, which opens the API documentation in my browser

2020-11-20T16:00:24.197900Z

(in a default repl, javadoc is bound to clojure.java.javadoc/javadoc)

dominicm 2020-11-20T17:22:38.198Z

@zyxmndaleyjes there's a lein plugin that'll add the java sources to the classpath, I used it for a while a long time ago and it worked perfectly wwith fireplace

2020-11-20T21:18:47.198100Z

Perfect , I'll have a looksie

2020-11-20T21:18:51.198300Z

Thanks

2020-11-20T21:20:15.198500Z

Yea I came across that . It's pretty useful

2020-11-20T21:20:53.198700Z

Oh sweet 🤙

2020-11-20T21:21:07.198900Z

Thanks