java-language-server icon indicating copy to clipboard operation
java-language-server copied to clipboard

can't specifying both classPath and docPath

Open brown opened this issue 3 years ago • 0 comments

I have been using java-language-server with Emacs and Eglot to edit Java code. Thanks very much for writing it!!

The company I work for has a custom build system. I set java.classPath to include all the jars my local source code depends on. The language server is able to show me info about classes in the jars and I can navigate around my local source code.

I would like to additionally provide the language server with the locations of source zip files that contain the source code for all the jars in java.classPath, but I cannot. Supplying a non-empty classPath causes JavaLanguageServer to create a JavaCompilerService instance with an empty docPath. Please allow specifying both java.classPath and java.docPath.

brown avatar Sep 22 '22 21:09 brown