Install Tanzu Developer Tools for your VS Code

This topic tells you how to install VMware Tanzu Developer Tools for Visual Studio Code (VS Code).

Prerequisites

Before installing the extension, you must have:

If you are an app developer, someone else in your organization might have already set up the Tanzu Application Platform environment.

Docker Desktop and local Kubernetes are not prerequisites for using Tanzu Developer Tools for VS Code.

Install

To install VMware Tanzu Developer Tools for VS Code:

  1. Open Visual Studio Code.
  2. Open the command palette.
  3. In the search box enter Extension.
  4. Click Extensions: Install Extensions.
  5. The Extensions view opens on the left side of your screen. In the search box enter Tanzu.
  6. Click Tanzu Developer Tools and then click Install.

Configure

To configure VMware Tanzu Developer Tools for VS Code:

  1. Ensure that you are targeting the correct cluster. For more information, see the Kubernetes documentation.

  2. Go to Code > Preferences > Settings > Extensions > Tanzu Developer Tools and set the following:

    • Confirm Delete: This controls whether the extension asks for confirmation when deleting a workload.
    • Enable Live Hover: For more information, see Integrating Live Hover by using Spring Boot Tools. Reload VS Code for this change to take effect.
    • Source Image: The registry location for publishing local source code. For example, registry.io/yourapp-source. This must include both a registry and a project name. A source image registry location is optional when Local Source Proxy is configured.
    • Local Path: (Optional) The path on the local file system to a directory of source code to build. This is the current directory by default.
    • Namespace: (Optional) This is the namespace that workloads are deployed into. The namespace set in kubeconfig is the default.

Uninstall

To uninstall VMware Tanzu Developer Tools for VS Code:

  1. Go to Code > Preferences > Settings > Extensions.
  2. Right-click the extension and select Uninstall.

Next steps

Proceed to Getting started with Tanzu Developer Tools for Visual Studio Code.

check-circle-line exclamation-circle-line close-line
Scroll to top icon