ZIm/crates/vim/src
Anthony Eid 8add90d7cb
Set up Rust debugger code runner tasks (#27571)
## Summary 
This PR starts the process of adding debug task locators to Zed's
debugger system. A task locator is a secondary resolution phase that
allows a debug task to run a command before starting a debug session and
then uses the output of the run command to configure itself.

Locators are most applicable when debugging a compiled language but will
be helpful for any language as well.

## Architecture

At a high level, this works by adding a debug task queue to `Workspace`.
Which add's a debug configuration associated with a `TaskId` whenever a
resolved task with a debug config is added to `TaskInventory`'s queue.
Then, when the `SpawnInTerminal` task finishes running, it emits its
task_id and the result of the ran task.

When a ran task exits successfully, `Workspace` tells `Project` to start
a debug session using its stored debug config, then `DapStore` queries
the `LocatorStore` to configure the debug configuration if it has a
valid locator argument.

Release Notes:

- N/A
2025-03-29 02:10:40 -04:00
..
digraph Add Vim digraphs (#14887) 2024-07-28 22:44:32 -06:00
normal Rename LSP function and simplify tests (#27313) 2025-03-22 19:23:11 +00:00
test Restore editor state on reopen (#27672) 2025-03-28 22:04:16 +00:00
change_list.rs vim: Add global marks (#25702) 2025-03-15 05:58:34 +00:00
command.rs Set up Rust debugger code runner tasks (#27571) 2025-03-29 02:10:40 -04:00
digraph.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
helix.rs vim: Add global marks (#25702) 2025-03-15 05:58:34 +00:00
indent.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
insert.rs vim: Add global marks (#25702) 2025-03-15 05:58:34 +00:00
mode_indicator.rs Display case-sensitive keybindings for vim commands (#24322) 2025-02-14 22:03:59 -07:00
motion.rs vim: Fix space not handling non-ascii characters (#27053) 2025-03-19 07:28:50 -06:00
normal.rs vim: Add global marks (#25702) 2025-03-15 05:58:34 +00:00
object.rs vim: Fix back quotes not recognized as object (#24999) 2025-02-26 14:21:12 -05:00
replace.rs vim: Rename wrapping keybindings + document cursor wrapping (#25694) 2025-03-05 08:54:30 -07:00
rewrap.rs Improvements to interactive hard wrap behavior (#26953) 2025-03-18 17:05:08 +00:00
state.rs vim: View Marks (#26885) 2025-03-22 04:46:04 +00:00
surrounds.rs Migrate keymap and settings + edit predictions rename (#23834) 2025-02-07 21:17:07 +05:30
test.rs keymap: Detect and report errors for uppercase keybindings (#27558) 2025-03-27 21:17:43 +00:00
vim.rs vim: Single quote mark (#27231) 2025-03-22 05:45:57 +00:00
visual.rs Correct other end visual block functionality (#27678) 2025-03-28 20:52:38 +00:00