zed/assets
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
..
badge Adjust Zed badge (#35294) 2025-07-29 15:09:31 -04:00
fonts Use semibold (#47725) 2026-01-27 08:50:52 -07:00
icons Fix forward Delete key icon (#65037) 2026-10-02 08:11:03 +00:00
images Add announcement banner for Delta (#64963) 2026-09-30 12:03:51 +00:00
keymaps debugger: Add hover tree UI (#53198) 2026-10-19 14:36:18 +00:00
prompts A couple new inline assistant tests (#45049) 2025-12-17 13:02:03 -08:00
settings gpui_apple: Display P3 option for MetalRenderer's colorspace (#64394) 2026-10-16 17:00:17 +00:00
sounds call: Play a different sound when a guest joins (#38987) 2025-09-27 09:20:55 -04:00
themes Fix parameter colors for gruvbox themes (#61983) 2026-07-31 10:27:51 +00:00