The September 2019 update to the Visual Studio Code editor, known as version 1.39, includes a number of new capabilities and improvements for Java developers. In addition, support for Java 13, the latest version of standard Java, has been added via the Language Support for Java extension from Red Hat.
New Java features in Visual Studio Code 1.39 include easier navigation of class implementations and overriding methods, inline refactoring, and new code actions and code snippets. The Language Support for Java extension provides Java linting, IntelliSense, refactoring, and Maven and Gradle support.
Specific Java highlights of Visual Studio Code 1.39 include:
Go to Super Implementation
link during a hover. Also for Java code actions, a couple of recent additions to Visual Studio Code include the ability to add a quick fix for non-accessible references, and the ability to change a package name in code or move the folder in a file system when the package name does not match the folder name. Developers also can automatically trigger an auto-import on paste. This can occur if developers paste blocks of code containing references to classes or static methods and fields not yet imported. This is enabled via the java.actionOnPaste.organizeImports
preference in VS code preferences.You can download Visual Studio Code from the project website. The Language Support for Java extension from Red Hat can be downloaded from the Visual Studio Marketplace.