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.
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
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 a lot of great community driven extensions as well. You can search for more Java extensions easily within the VS Code:
- Go to the Extensions view (⇧⌘X (Windows, Linux Ctrl+Shift+X)).
- Filter the extensions list by typing 'java'.
Here are a few useful extensions:
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.
Extensions with great Java support
We'd also like to recommend couple other extensions we believe are great to make VS Code even better for Java developers.
- IntelliCode provides developer a AI/ML powered IntelliSense, which will boost your productivity with contextual code recommendations.
- Live Share is a great tool to use when you need to collaborate with someone else on the same code base.
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
- The Azure Repos extension makes it easy to connect to your Azure DevOps servers, allowing you to easily monitory 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.
The Azure Tools for VS Code adds commands to the Command Palette (⇧⌘P (Windows, Linux Ctrl+Shift+P)) that make it easy to create and access Azure resources directly from VS Code. For example, you can create App Service Web Apps and Functions, Storage accounts, and browse to any number of resources in the Azure portal.
The Azure Resource Manager (ARM) 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 ARM templates in VS Code.
Please visit Azure Extensions to find more Azure extensions.