Java Extensions for VS Code

Visual Studio Code provides many features as an editor. In addition to that, you can install some high quality extensions to add features to VS Code for Java development.

Tip: To see how to install and manage your extensions, please refer to the extension documentation.

To help set up Java on VS Code, there is a Java Extension Pack which contains two popular extensions:

  1. Language Support for Java(TM) by Red Hat
  2. Debugger for Java

Install the Java Extension Pack

Along with the language support, if you are deploying your applications to the cloud, especially Azure, there is a Azure Extension Pack which contains extensions for popular Azure Services:

App Services (Websites)

  • The Azure App Service extension lets you quickly browse, create, manage, and deploy Azure App Service websites.

Functions (serverless computing)

  • The Azure Functions extension lets you quickly browse, create, manage, deploy, and even debug Azure functions locally.

Micro-Services

Storage

  • The Azure Data Lake Tools make it easy to develop U-SQL projects against Azure Data Lake! This extension provides a cross-platform, light-weight, keyboard-focused authoring experience for U-SQL while maintaining a full set of development functions.

Databases

  • The Azure CosmosDB extension lets you create, manage, and query CosmosDB accounts, including support for Mongo, Graphs, Tables, and DocumentDB databases.

  • The Microsoft SQL extension provides support for developing Microsoft SQL Server, Azure SQL Database and SQL Data Warehouse with a rich set of functionalities. For example, create and manage connection profiles and most recently used connections. Write T-SQL script with IntelliSense, snippets, syntax colorizations, error validations and GO batch separator. Execute scripts, view the results in a document, and save results to json or csv file format and view in the editor.

Team development

  • The Visual Studio Team Services extension makes it easy to connect to your Team Services and Team Foundation 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 (F1) 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, GoTo Definition, Peek Definitions, and Find All References (Shift+F12) as well as Errors and Warnings, making it quick and easy to author ARM templates in VS Code.

  • The Azure CLI Tools provide an enhanced editing experience when authoring Azure CLI 2.0 commands, with full completions (IntelliSense), the ability to invoke one or more commands in the terminal, and the ability to easily view and format results as a separate JSON document.

  • The Azure Application Insights extension brings information from your production services right into the editor (via Code Lenses), helping you to find and fix issues even faster.