zed/assets/keymaps
Tortes afff3d2616
debugger: Add hover tree UI (#53198)
Closes #32932

## Summary

- Show debugger values as an expandable tree, with the first level
visible immediately and deeper variables loaded on demand.
- Show the debugger value without waiting for a slow language server,
then show LSP documentation below it when it arrives. If debug
evaluation fails, keep the regular LSP hover.
- Keep the hover within the editor while expanding or resizing, with a
visible scrollbar and a hint for variable actions.
- Support mouse, keyboard, Vim, and Helix navigation. Long values remain
readable through wrapping or scrolling; the variable menu can copy a
value or expression and add an expression to Watch.
- Handle bare identifiers such as `a` in `let c = a;`.

## Testing

- `cargo test -p editor hover_popover -- --nocapture`
- `cargo test -p debugger_ui hover_values -- --nocapture`
- `cargo test -p project test_hover_ -- --nocapture`
- `cargo test -p ui compact_scrollbar_thumb_tracks_the_visible_fraction
-- --nocapture`
- `cargo test -p vim test_digraph_keymap_conflict -- --nocapture`
- `cargo fmt --all -- --check`

## Demo

Earlier recording (before the latest interaction refinements):
https://github.com/user-attachments/assets/dfb6d4d7-b52e-45a3-b921-dc14719ccd50

Release Notes:

- Improved debugger hovers with an expandable, keyboard-accessible
variable tree.

---------

Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
Co-authored-by: Amp <amp@ampcode.com>
2026-10-19 14:36:18 +00:00
..
linux keymap: Fix shift-enter in search bar for JetBrains keymap (#65129) 2026-10-05 21:02:44 +00:00
macos keymap: Fix shift-enter in search bar for JetBrains keymap (#65129) 2026-10-05 21:02:44 +00:00
default-linux.json debugger: Add hover tree UI (#53198) 2026-10-19 14:36:18 +00:00
default-macos.json debugger: Add hover tree UI (#53198) 2026-10-19 14:36:18 +00:00
default-windows.json debugger: Add hover tree UI (#53198) 2026-10-19 14:36:18 +00:00
initial.json Add trailing commas to all asset jsonc files following #43854 (#44891) 2025-12-15 15:09:52 +00:00
specific-overrides-macos.json picker: Improve multi-select discoverability and rendering (#60919) 2026-07-13 18:21:15 +00:00
specific-overrides.json picker: Improve multi-select discoverability and rendering (#60919) 2026-07-13 18:21:15 +00:00
vim.json debugger: Add hover tree UI (#53198) 2026-10-19 14:36:18 +00:00