Skip to content

docs: correct stale handler docstrings to match implemented behavior#3

Merged
math3usmartins merged 1 commit into
mainfrom
chore/out-dated-comments
Jun 2, 2026
Merged

docs: correct stale handler docstrings to match implemented behavior#3
math3usmartins merged 1 commit into
mainfrom
chore/out-dated-comments

Conversation

@math3usmartins

Copy link
Copy Markdown
Member

The semantic-tokens and code-action handlers carried docstrings from an earlier "slice" state, claiming the visitor emits no tokens and the code-action handler returns an empty list. Both are fully implemented: AstVisitor emits keywords/vars/strings/comments/declaration names and typeParameter for generic T, and the code-action handler merges import, diagnostic-fix, and optimize-imports providers.

Also correct codeAction/resolve's rationale: it is a no-op because actions attach their WorkspaceEdit eagerly (no round-trip needed), not because the action list is empty. Genuine remaining limitations (byte-vs-UTF-16 token length, interpolation granularity) are reworded, not removed.

Comment-only; no behavior change. Suite green (889 tests).

The semantic-tokens and code-action handlers carried docstrings from an
earlier "slice" state, claiming the visitor emits no tokens and the
code-action handler returns an empty list. Both are fully implemented:
AstVisitor emits keywords/vars/strings/comments/declaration names and
typeParameter for generic T, and the code-action handler merges import,
diagnostic-fix, and optimize-imports providers.

Also correct codeAction/resolve's rationale: it is a no-op because actions
attach their WorkspaceEdit eagerly (no round-trip needed), not because the
action list is empty. Genuine remaining limitations (byte-vs-UTF-16 token
length, interpolation granularity) are reworded, not removed.

Comment-only; no behavior change. Suite green (889 tests).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@math3usmartins math3usmartins merged commit c0a46ab into main Jun 2, 2026
2 checks passed
@math3usmartins math3usmartins deleted the chore/out-dated-comments branch June 2, 2026 21:29
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.

1 participant