This topic explains how to install VMware Tanzu Developer Tools for Visual Studio Code (VS Code).
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.
To install the extension:
Extensions: Install from VSIX....
Select the extension file tanzu-vscode-extension.vsix.
If you do not have the following extensions, and they do not automatically install, install them from VS Code Marketplace:
Ensure Language Support for Java is running in Standard Mode. You can configure it in the Settings menu by going to Code > Preferences > Settings under Java > Server: Launch Mode.
When the JDK and Language Support for Java are configured correctly, you see that the integrated development environment creates a directory target where the code is compiled.
To configure VMware Tanzu Developer Tools for VS Code:
Ensure that you are targeting the correct cluster. For more informatiom, see the Kubernetes documentation.
Go to Code > Preferences > Settings > Extensions > Tanzu Developer Tools and set the following:
registry.io/yourapp-source. This must include both a registry and a project name.
kubeconfigis the default.
To uninstall VMware Tanzu Developer Tools for VS Code:
Proceed to Getting started with Tanzu Developer Tools for Visual Studio Code.