Skip to content

Limit editors' refresh runnables#51299

Merged
SomeoneToIgnore merged 7 commits intomainfrom
kb/less-lsp
Mar 11, 2026
Merged

Limit editors' refresh runnables#51299
SomeoneToIgnore merged 7 commits intomainfrom
kb/less-lsp

Conversation

@SomeoneToIgnore
Copy link
Copy Markdown
Contributor

Before, both rust-analyzer's LSPext tasks and tree-sitter tasks were queried on the entire multi buffer range.

The PR moves all runnable-related logic into a submodule, and reworks the logic to consider only the visible buffers.
Singleton buffers have their tasks resolved for the entire range still (same as LSPext tasks work), multi buffers have their buffers' data cached and reused.

Release Notes:

  • Improved multi buffer's runnables resolution performance

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Mar 11, 2026
@zed-community-bot zed-community-bot bot added the staff Pull requests authored by a current member of Zed staff label Mar 11, 2026
@SomeoneToIgnore SomeoneToIgnore enabled auto-merge (squash) March 11, 2026 15:01
@SomeoneToIgnore SomeoneToIgnore merged commit 2b425aa into main Mar 11, 2026
39 checks passed
@SomeoneToIgnore SomeoneToIgnore deleted the kb/less-lsp branch March 11, 2026 15:05
tommyming pushed a commit to tommyming/zed that referenced this pull request Mar 13, 2026
Before, both rust-analyzer's LSPext tasks and tree-sitter tasks were
queried on the entire multi buffer range.

The PR moves all runnable-related logic into a submodule, and reworks
the logic to consider only the visible buffers.
Singleton buffers have their tasks resolved for the entire range still
(same as LSPext tasks work), multi buffers have their buffers' data
cached and reused.

Release Notes:

- Improved multi buffer's runnables resolution performance
SomeoneToIgnore added a commit that referenced this pull request Mar 13, 2026
tommyming pushed a commit to tommyming/zed that referenced this pull request Mar 15, 2026
Veykril pushed a commit that referenced this pull request Mar 17, 2026
Follow-up of #51299
Closes ZED-5TK

Release Notes:

- N/A
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.

1 participant