mirror of
https://github.com/zed-industries/zed.git
synced 2026-10-21 14:20:31 +00:00
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> |
||
|---|---|---|
| .. | ||
| linux | ||
| macos | ||
| default-linux.json | ||
| default-macos.json | ||
| default-windows.json | ||
| initial.json | ||
| specific-overrides-macos.json | ||
| specific-overrides.json | ||
| vim.json | ||