Skip to content

Refresh code lens after dynamic registration - #60009

Merged
Veykril merged 2 commits into
mainfrom
kb/dynamically-refresh-code-lens
Jun 28, 2026
Merged

Refresh code lens after dynamic registration#60009
Veykril merged 2 commits into
mainfrom
kb/dynamically-refresh-code-lens

Conversation

@SomeoneToIgnore

Copy link
Copy Markdown
Contributor

Follow-up to #54100

Closes #58864

Release Notes:

  • Fixed code lens not being refresh after the corresponding capability was dynamically registered

@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Jun 27, 2026
@zed-community-bot zed-community-bot Bot added the staff Pull requests authored by a current member of Zed staff label Jun 27, 2026
@SomeoneToIgnore
SomeoneToIgnore requested a review from Veykril June 27, 2026 15:24
tatsudo added a commit to tatsudo/zed that referenced this pull request Jun 28, 2026
When a server registers textDocument/semanticTokens dynamically, already-open
buffers kept tree-sitter-only highlighting until edited. Refresh semantic tokens
after the registration so they re-query, mirroring zed-industries#60009 for code lens.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Veykril
Veykril added this pull request to the merge queue Jun 28, 2026
Merged via the queue into main with commit 73b235a Jun 28, 2026
34 checks passed
@Veykril
Veykril deleted the kb/dynamically-refresh-code-lens branch June 28, 2026 09:20
jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 8, 2026
Follow-up to zed-industries#54100

Closes zed-industries#58864

Release Notes:

- Fixed code lens not being refresh after the corresponding capability
was dynamically registered

---------

Co-authored-by: zed-zippy[bot] <234243425+zed-zippy[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Code lens: workspace/codeLens/refresh (and post-init dynamic registration) does not re-query already-open documents

2 participants