ZIm/crates/project/src
teapo d7bb1c1d0e
lsp: Fix workspace diagnostics lag & add streaming support (#34022)
Closes https://github.com/zed-industries/zed/issues/33980
Closes https://github.com/zed-industries/zed/discussions/33979

- Switches to the debounce task pattern for diagnostic summary
computations, which most importantly lets us do them only once when a
large number of DiagnosticUpdated events are received at once.
- Makes workspace diagnostic requests not time out if a partial result
is received.
- Makes diagnostics from workspace diagnostic partial results get
merged.

There might be some related areas where we're not fully complying with
the LSP spec but they may be outside the scope of what this PR should
include.

Release Notes:

- Added support for streaming LSP workspace diagnostics.
- Fixed editor freeze from large LSP workspace diagnostic responses.
2025-07-15 18:41:45 +03:00
..
context_server_store agent: Fix bug that prevented MCP servers to appear in the settings view (#33857) 2025-07-03 15:05:29 +00:00
debugger debugger: A support for data breakpoint's on variables (#34391) 2025-07-14 17:45:46 +00:00
git_store chore: Bump Rust version to 1.88 (#33439) 2025-06-26 20:54:19 +02:00
lsp_command lsp: Complete overloaded signature help implementation (#33199) 2025-07-02 20:51:08 +03:00
lsp_store Respect server capabilities on queries (#33538) 2025-06-27 16:31:40 +00:00
manifest_tree Add language server control tool into the status bar (#32490) 2025-06-25 19:57:28 +03:00
buffer_store.rs Add language server control tool into the status bar (#32490) 2025-06-25 19:57:28 +03:00
color_extractor.rs Simplify static expression to a constant (#23193) 2025-01-15 19:31:21 +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 agent_ui: Fix disabled context servers not showing in agent setting (#33856) 2025-07-07 12:02:33 +02:00
debounced_delay.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
debugger.rs debugger: Add memory view (#33955) 2025-07-14 16:32:06 +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 ACP (#34030) 2025-07-09 16:02:31 +00:00
git_store.rs Revert "git: Intercept signing prompt from GPG when committing" (#34306) 2025-07-11 23:20:35 +00:00
image_store.rs zlog: Replace usages of env_logger in tests with zlog (#31436) 2025-05-26 11:48:50 -04:00
lsp_command.rs languages: Fix ESLint diagnostics not getting shown (#33814) 2025-07-14 13:48:56 +03:00
lsp_store.rs lsp: Fix workspace diagnostics lag & add streaming support (#34022) 2025-07-15 18:41:45 +03:00
manifest_tree.rs python: Re-land usage of source file path in toolchain picker (#31893) 2025-06-02 16:29:06 +00:00
prettier_store.rs Fix language settings formatter regression - formatter list can be a single formatter not wrapped in an array (#33721) 2025-07-01 17:47:19 +00:00
project.rs Return back the guards when goto targets are queried for (#34340) 2025-07-12 18:27:52 +03:00
project_settings.rs Add severity argument to GoToDiagnostic actions (#33995) 2025-07-15 14:03:57 +00:00
project_tests.rs debugger: Fix the JavaScript debug terminal scenario (#33924) 2025-07-05 19:48:55 -04:00
search.rs vim: Implement /n and /c in :s (#34102) 2025-07-09 06:14:04 +00:00
search_history.rs project: Use checked_sub for next/previous in search history (#34408) 2025-07-15 16:42:37 +02:00
task_inventory.rs debugger: Debug sessions rerun build tasks by default when restarting (#33724) 2025-07-01 15:43:58 -04:00
task_store.rs Add initial package.json scripts task autodetection (#32497) 2025-06-10 22:16:27 +00:00
terminals.rs Allow for venv activation script to use pyenv (#33119) 2025-07-15 16:44:40 +02:00
toolchain_store.rs debugger: Fix running JS tests when worktree root and package root do not coincide (#32644) 2025-06-13 05:03:07 +00:00
worktree_store.rs windows: Add support for SSH (#29145) 2025-07-08 14:34:57 +00:00
yarn.rs Use read-only access methods for read-only entity operations (#31479) 2025-05-26 23:04:31 -04:00