@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.
@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.