Skip to content

Add "Copy All" or "Copy as Key-Value Pairs" to Watch Window #306116

@DamirLisak

Description

@DamirLisak

Currently, there is no efficient way to export the entire Watch list as a structured dataset.
Using Ctrl+A and Copy in the Watch window often only captures the values or a flat list that loses the connection between the Expression (Name) and the Value.
Right-clicking only allows copying a single "Expression" or a single "Value" at a time.
This makes it extremely tedious to provide full debugging context to LLMs (like GitHub Copilot) or to document the state of multiple variables during a bug report.

I would like a context menu option (or a button in the Watch panel header) for "Copy All as Key-Value Pairs".
Format: Ideally, it should copy to the clipboard as a JSON object or a simple text list:

variableName1: "value1"
variableName2: { "nested": "data" }

Metadata

Metadata

Assignees

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