microsoft / microsoft/vscode

Feature Request: Provide Cursor-like Code Edit Review UI and Extension API

Open
#336,223 5 comments 0 reactions 1 assignee Claimed by @hediet View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Dear VS Code Team,

I would like to suggest a new feature for VS Code: provide a code edit review experience similar to Cursor, and expose the underlying capability through the public **Extension API.**

Image

The attached screenshot shows Cursor's current experience. When an AI agent modifies code, users can review each change directly in the editor and choose Keep or Undo, with convenient navigation between changes.

**With the rapid development of AI coding assistants, more and more VS Code extensions are directly modifying users' source code. However, extensions currently lack a standard API to present these changes with a native, interactive review experience.**

I suggest that VS Code provide:

A built-in UI for reviewing programmatically generated code changes, similar to Cursor's experience.
Keep / Undo actions for individual changes.
Previous / Next change navigation.
Accept/reject all changes.
Proper integration with VS Code's undo/redo mechanism.
A public Extension API allowing third-party extensions to submit changes as reviewable edits.

This would be especially valuable for AI coding assistants, but the API could be designed as a general-purpose reviewable edit capability for any extension that modifies source code.

Cursor has demonstrated that this interaction is very useful for AI-assisted development. I believe providing a native equivalent in VS Code, together with a public API, would significantly improve the experience for both users and the VS Code extension ecosystem.

Thank you for considering this feature request.

Best regards.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.