Skip to content

Inline editing of debug variables #209677

@connor4312

Description

@connor4312

@hediet showed me his extension that has "edit variable" code lens in certain places over variables in the code while debugging. It led me to thinking that we could have an in-editor "Edit Variable" experience that would look kind of similar to the input opened during inline chat.

DAP doesn't have knowledge of variable placements, but we do have the EvaluatableExpressionProvider. In the case where inline values are turned on, they could be clickable to edit them. Additional/otherwise, this could be surfaced through an "edit" action in debug hovers. Editing a variable would open an overlaid input box, prefilled with the variables current value, and the variable would be updated in the DA once changed and submitted.

Metadata

Metadata

Labels

debugDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions