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:

  1. Language Support for Java(TM) by Red Hat
  2. Debugger for Java
  3. Java Test Runner
  4. Maven for Java
  5. Java Dependency Viewer

Install the Java Extension Pack

There are also great extensions provided by Pivotal and Microsoft for Spring Boot development, including:

  1. Spring Boot Tools
  2. Spring Initializr Java Support
  3. Spring Boot Dashboard

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:

  1. Go to the Extensions view (⇧⌘X (Windows, Linux Ctrl+Shift+X)).
  2. Filter the extensions list by typing 'java'.

Here are a few useful extensions:

  1. Tomcat
  2. Jetty
  3. CheckStyle
  4. Java Linter
  5. Java Decompiler
  6. Lombok Annotations Support
  7. Java Properties

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.

  1. IntelliCode provides developer a AI/ML powered IntelliSense, which will boost your productivity with contextual code recommendations.
  2. 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.

Team 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.

General tools

  • 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.