Repository navigation
chat: open Working Set files in regular editors - #344477
Merged
Justin Chen (justschen) merged 3 commits intoOct 27, 2026
Merged
Conversation
Co-authored-by: Copilot <[email protected]>
Osvaldo Ortega (osortega)
marked this pull request as ready for review
October 27, 2026 01:42
Osvaldo Ortega (osortega)
previously approved these changes
Oct 27, 2026
Contributor
|
This PR will be automatically cherry-picked to |
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The focused change matches the stated intent, preserves explicit diff actions, and includes corresponding regression coverage with no unresolved findings.
No open issues 🎉
What changed in this PR
This PR changes chat Working Set row activation to open regular editors, while keeping diff review available through explicit actions.
Changes:
- Open changed and created files normally, and deleted files from their recorded originals.
- Preserve Open Changes in Diff Editor and View All Edits for diff review.
- Update accessibility guidance and regression tests for regular-editor behavior, focus, and pinning.
No actionable findings remain.
| File | Description |
|---|---|
| src/vs/workbench/contrib/chat/test/browser/widget/input/chatSessionWorkingSet.test.ts | Updates coverage for row activation, deleted files, focus, pinning, and explicit diff actions. |
| src/vs/workbench/contrib/chat/test/browser/accessibility/chatAccessibilityHelp.test.ts | Checks the updated regular-editor guidance. |
| src/vs/workbench/contrib/chat/browser/widget/input/chatSessionWorkingSet.ts | Opens rows in regular editors, using original snapshots for deleted files. |
| src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatChangesSummaryPart.ts | Clarifies the row-opening callback comment; no functional change. |
| src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.ts | Describes regular-editor activation and removes obsolete preference guidance. |
Review effort: Balanced
Justin Chen (justschen)
marked this pull request as draft
October 27, 2026 01:51
Osvaldo Ortega (osortega)
approved these changes
Oct 27, 2026
Osvaldo Ortega (osortega)
previously approved these changes
Oct 27, 2026
Co-authored-by: justschen <[email protected]>
Ross Wollman (rwoll)
approved these changes
Oct 27, 2026
Bhavya U (bhavyaus)
approved these changes
Oct 27, 2026
Kyle Cutler (kycutler)
approved these changes
Oct 27, 2026
Justin Chen (justschen)
enabled auto-merge (squash)
October 27, 2026 02:47
Justin Chen (justschen)
deleted the
agents/disable-diff-view-on-file-click
branch
October 27, 2026 02:51
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
Testing
npm run build-fast -- --client-only— passed./scripts/test.sh --run src/vs/workbench/contrib/chat/test/browser/widget/input/chatSessionWorkingSet.test.ts --run src/vs/workbench/contrib/chat/test/browser/accessibility/chatAccessibilityHelp.test.ts— 122 passednpm run eslint -- src/vs/workbench/contrib/chat/browser/widget/input/chatSessionWorkingSet.ts src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatChangesSummaryPart.ts src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.ts src/vs/workbench/contrib/chat/test/browser/widget/input/chatSessionWorkingSet.test.ts src/vs/workbench/contrib/chat/test/browser/accessibility/chatAccessibilityHelp.test.ts— passedgit diff --check— passedTo verify manually, click a file row in the Working Set and confirm it opens in a regular editor, then use the row's diff button and confirm it opens the diff editor.