
You can do this by selecting the Resolve unknown type link shown on hover. The Maven extension also supports searching Maven Central to resolve unknown types in your source code. Once a Maven project is loaded, the extension will be activated and it will automatically scan for pom.xml files in your workspace and displays all Maven projects and their modules in the side bar. Install the Extension Pack for Java Exploring Maven project We recommend installing the Extension Pack for Java, which includes Maven support and other important Java development features. The Maven for Java extension for Visual Studio Code provides fully integrated Maven support, allowing you to explore Maven projects, execute Maven commands, and perform the goals of build lifecycle and plugins.

Maven is a software tool that helps you manage Java projects and automate application builds.

If you run into any issues when using the features below, you can contact us by entering an issue. It covers the Maven for Java and Gradle for Java extensions as well as other tools. This document is an overview of how to work with your Java build tools in Visual Studio Code. Configure IntelliSense for cross-compiling.
