Feature request: Option to disable "Keep/Undo" confirmation popup when discarding Copilot Agent changes

Open
#321,162 0 comments 0 reactions 1 assignee View on GitHub

@lszomoru is already working on this.

Since Jun 12, 2026.

Assessment

This issue has not been assessed yet.

Description

Problem

When I undo/discard changes made by GitHub Copilot Agent in VSCode, a confirmation popup appears asking if I'm sure. I want to be able to discard changes without this notification.

Current behavior

  • Copilot Agent creates changes
  • When I undo them (Ctrl+Z or discard), a "Keep/Undo" confirmation popup appears
  • There's no setting to disable this popup

Desired behavior

  • Add a setting (e.g., copilot.agent.showUndoConfirmation) to disable the confirmation popup
  • Allow users to discard Copilot Agent changes directly without notification

Why this is needed

LLMs tend to generate large amounts of content quickly, most of which is low-quality garbage that needs rewriting. This confirmation popup psychologically pushes users toward accepting Copilot's changes rather than discarding them, which accelerates and reinforces "vibe-coding".

When I intentionally undo Copilot's changes, I already know I want to discard them. The popup adds friction at exactly the moment I'm trying to resist accepting garbage output, making the workflow more annoying and counterproductive to thoughtful code review.

Related

This is separate from the auto-accept feature. I want to keep the ability to manually undo, just without the confirmation step.

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

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.

More from microsoft/vscode

All issues in microsoft/vscode

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.