Skip to content

Conversation

@RomneyDa
Copy link
Collaborator

@RomneyDa RomneyDa commented Oct 28, 2025

Description

Instead of file operations for each individual diff, unified reject all with one file operation

First reject is before, second is after:

unified-reject-all-vscode.mp4

Summary by cubic

Make “Reject All” in VS Code instant by applying all diffs in one edit instead of per-diff operations. This speeds up large files and keeps undo history clean.

  • Bug Fixes
    • Added unifiedRejectAll() to rebuild final content and replace the document in a single atomic edit (undo stops disabled).
    • Processes removed/added ranges in reverse line order to avoid index shifts and ensure stable results.

@RomneyDa RomneyDa requested a review from a team as a code owner October 28, 2025 23:31
@RomneyDa RomneyDa requested review from Patrick-Erichsen and removed request for a team October 28, 2025 23:31
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Oct 28, 2025
@github-actions
Copy link

github-actions bot commented Oct 28, 2025

✅ Review Complete

Code Review Summary

⚠️ Continue API authentication failed. Please check your CONTINUE_API_KEY.


Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M This PR changes 30-99 lines, ignoring generated files.

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants