Skip to content
Discussion options

You must be logged in to vote

Short answer: you cannot expand them, and it is not a setting you are missing. The variables popup only ever fetches and renders the top level.

dap_variables asks the adapter for the variables of each scope once, then formats each one into a plain text popup. There is a TODO sitting directly above the code that does it:

// TODO: allow expanding variables into sub-fields

helix-term/src/commands/dap.rs:558

The loop below it pushes only name, type and value for each variable (dap.rs:578-589), and the result is turned into a Popup built from Text (dap.rs:593-595). That widget has no selection or fold state, so there is nothing to press a key on even if you wanted to bind one.

The mildly annoy…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by eeprom-foo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants