Skip to content

Comments

fix: #267, fix requiredDeviceType and hdc deviceType detect#268

Merged
Groupguanfang merged 2 commits intonextfrom
next-dev
Feb 20, 2026
Merged

fix: #267, fix requiredDeviceType and hdc deviceType detect#268
Groupguanfang merged 2 commits intonextfrom
next-dev

Conversation

@Groupguanfang
Copy link
Collaborator

@Groupguanfang Groupguanfang commented Feb 19, 2026

closes #267

Copilot AI review requested due to automatic review settings February 19, 2026 21:17
@github-project-automation github-project-automation bot moved this to Todo in ArkTS Feb 19, 2026
@changeset-bot
Copy link

changeset-bot bot commented Feb 19, 2026

🦋 Changeset detected

Latest commit: 2d8d3c7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@arkts/language-server Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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 addresses issue #267 by adjusting the language-server default TypeScript/ETS compiler options and refining VSCode task behavior/documentation around hvigor-assemble-hap device type handling.

Changes:

  • Update hvigor-assemble-hap task argument construction to make requiredDeviceType conditional and attempt device type detection via hdc.
  • Remove composite: true from the language-server’s merged default compiler options.
  • Update VSCode extension README to add usage/FAQ section and document supported tasks; add a changeset for the language-server version bump.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
packages/vscode/src/tasks/hvigor-assemble-hap.ts Makes requiredDeviceType flag conditional and changes how device type is detected from hdc.
packages/vscode/README.md Adds usage/FAQ section and documents task support.
packages/language-server/src/classes/config-manager.ts Removes composite: true from default merged compiler options.
.changeset/dry-months-post.md Declares a release entry for the language-server change (fix #267).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Groupguanfang Groupguanfang merged commit 1bf8f32 into next Feb 20, 2026
18 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in ArkTS Feb 20, 2026
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.

import from 相对路径大面积爆红

1 participant