ZIm/crates/project/src
Kirill Bulatov 5dcb90858e
Stop waiting for part of LSP responses on remote Collab clients' part (#36557)
Instead of holding a connection for potentially long LSP queries (e.g.
rust-analyzer might take minutes to look up a definition), disconnect
right after sending the initial request and handle the follow-up
responses later.

As a bonus, this allows to cancel previously sent request on the local
Collab clients' side due to this, as instead of holding and serving the
old connection, local clients now can stop previous requests, if needed.

Current PR does not convert all LSP requests to the new paradigm, but
the problematic ones, deprecating `MultiLspQuery` and moving all its
requests to the new paradigm.

Release Notes:

- Improved resource usage when querying LSP over Collab

---------

Co-authored-by: David Kleingeld <git@davidsk.dev>
Co-authored-by: Mikayla Maki <mikayla@zed.dev>
Co-authored-by: David Kleingeld <davidsk@zed.dev>
2025-08-21 09:24:34 +03:00
..
context_server_store Silence a bucketload of logs (#36534) 2025-08-19 20:26:56 -06:00
debugger Fix clippy::len_zero lint style violations (#36589) 2025-08-20 14:35:59 +00:00
git_store Fix clippy::println_empty_string, clippy::while_let_on_iterator, clippy::while_let_on_iterator lint style violations (#36613) 2025-08-20 20:14:30 +02:00
lsp_command lsp: Complete overloaded signature help implementation (#33199) 2025-07-02 20:51:08 +03:00
lsp_store Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
manifest_tree lints: A bunch of extra style lint fixes (#36568) 2025-08-20 12:05:58 +02:00
buffer_store.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
color_extractor.rs Another batch of lint fixes (#36521) 2025-08-19 20:33:44 +00:00
connection_manager.rs Finish removing git repository state and scanning logic from worktrees (#27568) 2025-04-01 17:41:20 -04:00
context_server_store.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
debounced_delay.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
debugger.rs lints: A bunch of extra style lint fixes (#36568) 2025-08-20 12:05:58 +02:00
direnv.rs Fix parsing of direnv export json to support unset of environment variables + better logging (#32559) 2025-06-11 17:57:30 +00:00
environment.rs Fix clippy::needless_borrow lint violations (#36444) 2025-08-18 21:54:35 +00:00
git_store.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
image_store.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
lsp_command.rs Stop waiting for part of LSP responses on remote Collab clients' part (#36557) 2025-08-21 09:24:34 +03:00
lsp_store.rs Stop waiting for part of LSP responses on remote Collab clients' part (#36557) 2025-08-21 09:24:34 +03:00
manifest_tree.rs Fix clippy::for_kv_map lint violations (#36493) 2025-08-20 11:22:19 +02:00
prettier_store.rs Auto-fix clippy::collapsible_if violations (#36428) 2025-08-19 13:27:24 +00:00
project.rs Stop waiting for part of LSP responses on remote Collab clients' part (#36557) 2025-08-21 09:24:34 +03:00
project_settings.rs Fix a bunch of other low-hanging style lints (#36498) 2025-08-19 21:26:17 +02:00
project_tests.rs Stop waiting for part of LSP responses on remote Collab clients' part (#36557) 2025-08-21 09:24:34 +03:00
search.rs Auto-fix clippy::collapsible_if violations (#36428) 2025-08-19 13:27:24 +00:00
search_history.rs Fix unnecessary-mut-passed lint (#36490) 2025-08-19 14:20:01 +00:00
task_inventory.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
task_store.rs Fix unnecessary-mut-passed lint (#36490) 2025-08-19 14:20:01 +00:00
terminals.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
toolchain_store.rs lsp: Identify language servers by their configuration (#35270) 2025-08-18 11:43:52 +02:00
worktree_store.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
yarn.rs Use read-only access methods for read-only entity operations (#31479) 2025-05-26 23:04:31 -04:00