Java extensions for Visual Studio Code
Visual Studio Code provides many features as a Java language editor. You can also install VS Code extensions to add more features for Java development.
Tip: To see how to install and manage your extensions, refer to the extension documentation.
Thanks to the great Java community around VS Code, you can search for a large number of Java extensions easily within VS Code:
- Go to the Extensions view (
kb(workbench.view.extensions)
). - Filter the extensions list by typing “java”.
Recommended extensions
To help set up Java on VS Code, there is the Microsoft Java Extension Pack, which contains these popular extensions:
- Language Support for Java(TM) by Red Hat
- Debugger for Java
- Java Test Runner
- Maven for Java
- Java Dependency Viewer
- Visual Studio IntelliCode
Install the Java Extension Pack
There are also great extensions provided by Pivotal and Microsoft for Spring Boot development, including:
Popular extensions from the community
Thanks to the great Java community around VS Code, there are many great community-created extensions as well. You can search for more Java extensions easily within the VS Code:
- Go to the Extensions view (
kb(workbench.view.extensions)
). - Filter the extensions list by typing ‘java’.
Here are a few useful extensions:
- Tomcat
- Jetty
- Server Connector
- Community Server Connectors
- MicroProfile Extension Pack
- CheckStyle
- SonarLint
- Java Linter
- Java Decompiler
- Lombok Annotations Support
- Java Properties
- Bazel
We also appreciate contributions to any of our existing extensions and we hope you’ll create new Java extensions if you don’t find what you’re looking for in the Marketplace. We’re especially looking for help in areas such as support for Gradle and other Java application servers.
Recommended extensions with great Java support
We’d also like to recommend a couple of other extensions we believe are great to make VS Code even better for Java developers.
- Live Share is a great tool to use when you need to collaborate with someone else on the same code base.
- The Remote Development extensions let you use VS Code to access a container, a remote machine, or the Windows Subsystem for Linux.
Extension for container development
You can use Docker extension to build docker images and work with image registries.
Kubernetes extension provides an explorer view to manage clusters and the nodes inside. It also provides advanced syntax support for editing Kubernetes manifest files.
Recommended extensions for cloud (Azure) development
Team development
- The Azure Repos extension makes it easy to connect to your Azure DevOps Servers, allowing you to easily monitor builds, pull requests, and work items for your TFVC or Git source repositories.
Internet of Things
- The Azure IoT Toolkit for VS Code makes it easy to develop and connect your IoT applications to Azure. With this extension, you can interact with Azure IoT Hub, manage devices connected to Azure IoT Hub, and develop with code snippets for Azure IoT Hub.
General tools
The Azure Tools Extension Pack provides a rich set of extensions that makes it easy to discover and interact with Azure services to power your applications.
The Azure Resource Manager Tools provide a rich editing experience for Azure Resource Manager deployment templates and template language expressions. For example, IntelliSense for TLE function names, parameter references, signature help, Go to Definition, Peek Definition, and Peek References as well as Errors and Warnings, making it quick and easy to author Azure Resource Manager templates in VS Code.
Visit Azure Extensions to find more Azure extensions.