Skip to content

feat: Implement build tools management system in VS Code extension#120

Open
sanchuanhehe wants to merge 9 commits intonextfrom
58-feature-v2-编译支持

Hidden character warning

The head ref may contain hidden characters: "58-feature-v2-\u7f16\u8bd1\u652f\u6301"
Open

feat: Implement build tools management system in VS Code extension#120
sanchuanhehe wants to merge 9 commits intonextfrom
58-feature-v2-编译支持

Conversation

@sanchuanhehe
Copy link
Collaborator

  • Add EnvironmentManager for managing VS Code environment variables.
  • Introduce BuildToolsManager to handle detection, configuration, and environment setup for build tools.
  • Create ConfigurationResolver for parsing and managing build tool configurations.
  • Implement integration example to demonstrate build tools management in the extension.
  • Define types for build tools configuration and environment.
  • Update meta information and configuration keys for new build tools features.
  • Ensure legacy configuration migration and validation for user paths.

- Add EnvironmentManager for managing VS Code environment variables.
- Introduce BuildToolsManager to handle detection, configuration, and environment setup for build tools.
- Create ConfigurationResolver for parsing and managing build tool configurations.
- Implement integration example to demonstrate build tools management in the extension.
- Define types for build tools configuration and environment.
- Update meta information and configuration keys for new build tools features.
- Ensure legacy configuration migration and validation for user paths.
@sanchuanhehe sanchuanhehe linked an issue Aug 17, 2025 that may be closed by this pull request
@github-project-automation github-project-automation bot moved this to Todo in ArkTS Aug 17, 2025
@sanchuanhehe
Copy link
Collaborator Author

还未测试

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements a comprehensive build tools management system for the VS Code extension, providing automated detection, configuration, and environment management for HarmonyOS development tools.

  • Add automated build tools detection system supporting both DevEco Studio and command-line-tools installations
  • Implement VS Code environment variable management with integrated PATH and SDK configuration
  • Create configuration resolver with legacy migration support and validation capabilities

Reviewed Changes

Copilot reviewed 10 out of 11 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
packages/vscode/src/build-tools/types.ts Define TypeScript interfaces and types for build tools configuration
packages/vscode/src/build-tools/detector.ts Implement automated detection logic for various build tool installations
packages/vscode/src/build-tools/environment.ts Manage VS Code environment variables and PATH configuration
packages/vscode/src/build-tools/resolver.ts Handle configuration parsing, validation, and legacy migration
packages/vscode/src/build-tools/manager.ts Orchestrate the entire build tools system with commands and status management
packages/vscode/src/build-tools/index.ts Export public API for build tools system
packages/vscode/src/build-tools/integration-example.ts Demonstrate integration patterns for the extension
packages/vscode/package.json Add new configuration settings for build tools management
packages/vscode/package.nls.zh-cn.json Add Chinese translations for new configuration descriptions
packages/vscode/README.md Update documentation with new configuration options

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: v2 编译支持

2 participants