feat(debug): add 'Copy All' action to Watch view context menu#307886
Open
yogeshwaran-c wants to merge 1 commit intomicrosoft:mainfrom
Open
feat(debug): add 'Copy All' action to Watch view context menu#307886yogeshwaran-c wants to merge 1 commit intomicrosoft:mainfrom
yogeshwaran-c wants to merge 1 commit intomicrosoft:mainfrom
Conversation
Currently users can only copy individual watch expressions or values one at a time via the context menu. Selecting multiple rows with Ctrl+A and Copy only captures values (or a flat list), losing the Expression → Value mapping. This adds a new 'Copy All' context menu action that copies all watch expressions as name: value pairs, one per line — ready to paste into issues, chat messages, or notes when providing debugging context. Fixes microsoft#306116 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #306116.
Adds a new Copy All context menu action to the Watch view that copies all watch expressions as `name: value` pairs, one per line.
Currently users can only copy individual watch expressions or values one at a time via the context menu. Selecting multiple rows with Ctrl+A and Copy only captures values (or a flat list), losing the Expression → Value mapping. This action makes it easy to export the entire Watch list with full context for debugging reports, issues, or chat messages.
Example output
```
user.name: "Alice"
user.age: 30
items.length: 5
```
Changes
Test plan
🤖 Generated with Claude Code