Skip to content

fix: index OpenHarmony ets/kits for jump-to-definition - #313

Open
tonycoder-hub wants to merge 1 commit into
ohosvscode:nextfrom
tonycoder-hub:cursor/fix-oh-kits-jump-to-def-5148
Open

fix: index OpenHarmony ets/kits for jump-to-definition#313
tonycoder-hub wants to merge 1 commit into
ohosvscode:nextfrom
tonycoder-hub:cursor/fix-oh-kits-jump-to-def-5148

Conversation

@tonycoder-hub

Copy link
Copy Markdown

Fixes issue 291.
OpenHarmony kit imports showed path hints, but jump-to-definition and exported member types failed. Kit barrels re-export from nested ets/api, ets/kits, and ets/arkts files that were never indexed.
Recursively map those declaration files, including dotted aliases. HMS mapping from issue 306 left unchanged. lint and 50 tests passed.

Recursively map OH ets/api, ets/kits, and ets/arkts declaration files so
@Kit barrels and the @ohos modules they re-export resolve for go-to-def
and exported member types. Leaves HMS mapping to the titleBar PR.

Co-authored-by: Tony Coder <407243179@qq.com>
@changeset-bot

changeset-bot Bot commented Aug 17, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 31758db

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 Patch

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

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.

2 participants