ZIm/crates/project/src
Cole Miller 7c169fc9b5
debugger: Send initialized event from fake server at a more realistic time (#35446)
The spec says:

> ⬅️ Initialized Event
> This event indicates that the debug adapter is ready to accept
configuration requests (e.g. setBreakpoints, setExceptionBreakpoints).
>
> A debug adapter is expected to send this event when it is ready to
accept configuration requests (but not before the initialize request has
finished).

Previously in tests, `intercept_debug_sessions` was just spawning off a
background task to send the event after setting up the client, so the
event wasn't actually synchronized with the flow of messages in the way
the spec says it should be. This PR makes it so that the `FakeTransport`
injects the event right after a successful response to the initialize
request, and doesn't send it otherwise.

Release Notes:

- N/A
2025-07-31 19:45:02 -04:00
..
context_server_store context_server: Change command string field to PathBuf (#34873) 2025-07-22 12:12:07 +02:00
debugger debugger: Send initialized event from fake server at a more realistic time (#35446) 2025-07-31 19:45:02 -04:00
git_store worktree: Improve performance with large # of repositories (#35052) 2025-07-25 13:18:19 +02:00
lsp_command lsp: Complete overloaded signature help implementation (#33199) 2025-07-02 20:51:08 +03:00
lsp_store keymap_ui: Auto complete action arguments (#34785) 2025-07-20 16:24:17 -04:00
manifest_tree lsp: Remove Attach enum, default to Shared behaviour (#35248) 2025-07-29 10:07:36 +00: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 Ensure context servers are spawned in the workspace directory (#35271) 2025-07-29 18:03:43 +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 git: Enable git stash in git panel (#32821) 2025-07-25 23:15:54 +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 Fix panic with completion ranges and autoclose regions interop (#35408) 2025-07-31 16:18:26 +00:00
lsp_store.rs chore: Move a few more tasks into background_spawn (#35374) 2025-07-30 23:56:47 +00: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 chore: Move a few more tasks into background_spawn (#35374) 2025-07-30 23:56:47 +00:00
project_settings.rs context_server: Change command string field to PathBuf (#34873) 2025-07-22 12:12:07 +02:00
project_tests.rs debugger: Fix the JavaScript debug terminal scenario (#33924) 2025-07-05 19:48:55 -04:00
search.rs project: Fix search filter patterns on remote projects (#34748) 2025-07-23 00:18:45 -06:00
search_history.rs debugger: Fix debug console persist to history when reusing a previous item (#34893) 2025-07-22 15:40:11 -04: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 terminal: Support ~ in cwd field of task definitions (#35097) 2025-07-25 15:39:50 +00: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