Maven Helper for VS Code 中文
A powerful Maven dependency management and visualization extension for Visual Studio Code, inspired by IntelliJ IDEA's Maven Helper plugin.
Features
Feature Preview
Dependency Analysis View
View dependency tree, filter dependencies and manage conflicts

Dependency Operations
Exclude dependencies, comment out dependencies or update dependency information with one click

Requirements
- Java Development Kit (JDK) 8 or later
- Apache Maven 3.x or later
- Visual Studio Code 1.100.0 or later
Installation
- Open VS Code
- Press
Ctrl+P to open the Quick Open dialog
- Type
ext install yaomengke.maven-helper
- Press Enter to install
Extension Settings
This extension contributes the following settings:
mavenHelper.maven.defaultPath : Default Maven installation path. If not specified, Maven from system PATH will be used
mavenHelper.jdk.defaultPath : Default JDK installation path. If not specified, JAVA_HOME from system environment will be used
Usage
Analyzing Dependencies
- Right-click on a
pom.xml file in the explorer
- Select "Analyze Dependencies" or "Visualize Dependencies"
- View the dependency tree and conflict information in the Maven Helper panel
Managing Dependencies
- Exclude Dependencies: Right-click on a transitive dependency and select "Exclude Dependency"
- Comment Out Dependencies: Right-click on a direct dependency and select "Comment Out Dependency"
- Search Repository: Use the Repository Search view to find and add new dependencies
- Copy GAV: Right-click on any dependency and select "Copy GAV Coordinates"
Running Maven Commands
- Right-click on a
pom.xml file
- Select "Run Maven Command"
- Choose from common commands or enter a custom command
- View command output in the integrated terminal
Viewing Dependency Visualization
- Open a Maven project
- Click the "Visualize Dependencies" button in the Maven Helper panel
- Interact with the visualization:
- Switch between tree and list views
- Filter dependencies by scope
- Search for specific artifacts
- Analyze conflicts
Known Issues
Please report issues on our GitHub repository.
Release Notes
1.0.0
Initial release with core features:
- Dependency analysis and visualization
- Maven command execution
- Repository search
- Dependency management operations
- Project configuration
1.0.1
1.0.2
- Optimize some display styles
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This extension is licensed under the MIT License.
Enjoy!
| |