Is Java jdtls supported?
uqix opened this issue · comments
https://github.com/eclipse-jdtls/eclipse.jdt.ls?tab=readme-ov-file#managing-connection-types
To use standard streams(stdin, stdout) of the server process do not set any of the above environment variables and the server will fall back to standard streams.
Is this relevant?
No idea, but sounds like so; just give it a try.
eglot-booster/eglot-booster.el
Line 52 in 6fa5f04
Here's the problem: my java elgot config contains :initializationOptions
:
(add-to-list
'eglot-server-programs
'(java-ts-mode
.
("jdtls"
"--jvm-arg=-javaagent:/opt/lombok.jar"
"--jvm-arg=-Xmx4G"
"--jvm-arg=-XX:+UseStringDeduplication"
:initializationOptions (:extendedClientCapabilities (:classFileContentsSupport t)))))
so it's not wrapped.
I don't recall why I outlawed those. Can you try the allow-initialization-options
branch and let me know how it works?
I don't recall why I outlawed those. Can you try the
allow-initialization-options
branch and let me know how it works?
It works now, thanks.
Thanks merged.