This is a helper package that manages and downloads the Eclipse JDT language server for you.
To use this package, you must have:
- The LSP package.
- A Java SDK.
- It's recommended to have
JAVA_HOME
defined in your environment variables. Otherwise, specifyjava.home
in the plugin settings.
This language server operates on views with the source.java
base scope.
Configure jdtls by running Preferences: LSP-jdtls Settings
from the command palette.
jdtls can do a lot of cool things, like
- code completion
- signature help
- hover info
- code actions
- formatting
- find references
- goto def