Contribute an extension bundle - eclipse-jdtls/eclipse.jdt.ls GitHub Wiki
You can contribute an extension bundle to the JDT for extra functionalities such as debugging, PDE development support, decompiler, etc.
Plugin.xml
Implement DelegateCommandHandler
Create an jdt.ls extension
You can bootstrap the development of a JDT.LS extension by using this Maven archetype:
https://github.com/open-archetypes/jdt.ls-extension-archetype
See it in action: https://www.screencast.com/t/eIFXRxA6at8z
Use the jdt.ls extension
The client can start the server with initializationOptions
having a bundles list of jar paths to load on the server side, like https://github.com/redhat-developer/vscode-java/blob/78f4d6662b2098a4255d0f33f1675244ee92a11c/src/extension.ts#L56
The jars can be found inside the zip archive created by running mvn package
.