

Language support for Java uses the Eclipse JDT Language Server, which in turn makes use of Eclipse JDT, M2Eclipse and Buildship. The user settings may be used to compile the application against multiple configured JDKs: "": [

If not specified, the extension tries to detect the JDK in the following order: JDK_HOME environment variable, JAVA_HOME environment variable, or via the system path. JDK 11 or higher is required to run the extension and can be configured with the field in the VS Code settings. VSCode supports various Java frameworks and tools with separate plugins for Spring Boot, Microprofile, Quarkus, Docker, Kubernetes, Tomcat, Jetty, SonarLint and Checkstyle. The Language support for Java extension may be downloaded separately or via the Extension Pack for Java which also contains the Language Support for Java plugin together with plugins for debugging, running tests, Maven, project manager and Intellicode. Common IDE features are supported, such as code completion, refactoring, compile errors, Javadoc, code navigation, code formatting, call hierarchies and type hierarchies. Maven, Gradle and standalone Java projects are supported, and the build tool is automatically detected.

The Language support for Java extension is activated when a Java file is opened. Lastly, support for Gradle files written in Kotlin (. This release also contains new code actions, to increase developer productivity, for example, to add a missing method. The source lookup feature has been improved and now supports unmanaged projects, without Maven or Gradle, and is able to display sources of any library available on Maven central. Red Hat has released version 1.0 of Language support for Java on Visual Studio Code with new features that include: support for Java 17 improvement in performance by deferring some computations based on new features of the LSP specification tuning the various JVM options optimization in the responsiveness of the language server and the ability to display the Type hierarchy.
