microsoft / microsoft/vscode

Allow configuring the default Changes view changeset

Open
#336,866 0 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
193k
Forks
42.7k
PR merge metrics
PR metrics pending

Description

The Agents Changes view currently selects a provider-defined default changeset (for example, Branch Changes or Session Changes). A user can manually select Last Turn Changes, but that selection is reset when the active session changes.

Please add a user setting that controls the default changeset shown in the Agents Changes view.

For example:

"agents.changes.defaultChangeset": "lastTurn"

Possible values could include:

  • branch
  • uncommitted
  • session
  • lastTurn

The setting should be honored whenever the Changes view initializes or switches to another agent session. If the selected changeset is unavailable for a particular provider/session, VS Code could fall back to that provider's current default.

My use case is reviewing an agent incrementally after every prompt. Showing the cumulative branch or session diff by default makes it harder to identify exactly what the latest turn changed, and repeatedly switching the selector to Last Turn Changes adds friction.

An alternative would be to remember the user's most recently selected changeset mode across sessions/workspaces, but an explicit setting would be more predictable and configurable through Settings Sync.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Agents Changes view and the code that initializes its changeset or responds to agent-session switches. Add the user setting with the proposed changeset values, honor it during initialization and session changes, and preserve the provider default when the selected changeset is unavailable.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.