🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@rchl
Copy link
Member

@rchl rchl commented Sep 15, 2025

  • Sync code actions handling with upstream - make returned code action "kind" values more specific.
  • Fix matching of client-provided only values. It only worked if client provided for example only: ["refactor"] but not if client provided only: ["refactor.move"].
  • Make separate code actions request to TS for each "only" kind that the client has passed. Previously we'd only make request for the first one.
  • Add test for "Move to file" interactive code action.

Fixes #954

- Sync code actions handling with upstream - make returned code action
"kind" values more specific.
 - Fix matching of client-provided `only` values. It only worked if client
 provided for example `only: ["refactor"]` but not if client provided
 `only: ["refactor.move"]`.
 - Make separate code actions request to TS for each "only" kind that the
 client has passed. Previously we'd only make request for the first one.
 - Add test for "Move to file" interactive code action.
@github-actions github-actions bot added the fix label Sep 15, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Sep 15, 2025

size-limit report 📦

Path Size
lib/cli.mjs 824.79 KB (+0.17% 🔺)

@rchl rchl merged commit fd53ca8 into master Sep 15, 2025
8 checks passed
@rchl rchl deleted the fix/code-actions branch September 15, 2025 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extracting constants should use "kind": "refactor.extract.constant"

2 participants