ZIm/assets/keymaps
Remco Smits ad76db7244
debugger: Add variable watchers (#32743)
### This PR introduces support for adding watchers to specific
expressions (such as variable names or evaluated expressions).

This feature is useful in scenarios where many variables are in scope,
but only a few are of interest—especially when tracking variables that
change frequently. By allowing users to add watchers, it becomes easier
to monitor the values of selected expressions across stack frames
without having to sift through a large list of variables.


https://github.com/user-attachments/assets/c49b470a-d912-4182-8419-7406ba4c8f1e

------

**TODO**:
- [x] make render variable code reusable for render watch method
- [x] use SharedString for watches because of a lot of cloning
- [x] add tests
  - [x] basic test
  - [x] test step debugging

Release Notes:

- Debugger Beta: Add support for variable watchers

---------

Co-authored-by: Anthony Eid <hello@anthonyeid.me>
Co-authored-by: Anthony <anthony@zed.dev>
2025-06-20 20:45:55 +00:00
..
linux Cleanup comments in linux keymaps (#32333) 2025-06-08 09:02:52 +00:00
macos Cursor keymap: Add cmd-enter to submit inline assistant (#32295) 2025-06-07 16:37:45 -04:00
default-linux.json debugger: Add variable watchers (#32743) 2025-06-20 20:45:55 +00:00
default-macos.json debugger: Add variable watchers (#32743) 2025-06-20 20:45:55 +00:00
initial.json Fix "j" key latency in vim mode with "j k" keymap (#31163) 2025-06-05 13:16:59 -06:00
storybook.json keymap: Update Prev to Previous for consistency (#25909) 2025-03-03 17:44:49 +05:30
vim.json vim: Implement [ e and ] e from vim-unimpaired (#32851) 2025-06-17 12:27:27 -06:00