Docs / Desktop Workspace / Multi-File Visual Diff Viewer

Multi-File Visual Diff Viewer

Review AI code modifications with block-by-block accept/reject controls and instant git rollbacks.

When an agent modifies multiple files across your project, reviewing changes before merging is critical. BhaiCode Desktop includes a dedicated Multi-File Visual Diff Viewer.


Review Capabilities

  • Unified & Split Views: Toggle between unified inline diffs and side-by-side split comparisons.
  • Syntax-Aware Coloring: Added lines are highlighted in green, removed lines in red, with word-level character differences distinctly highlighted.
  • Hunk-by-Hunk Approvals: Each modified code block includes individual Accept (✓) and Reject (✗) controls, allowing you to accept specific improvements while discarding unwanted changes.

Review Actions

1. File-Level Controls

  • Accept File: Applies all modifications in the current file to your working directory.
  • Discard File: Reverts the file to its exact pre-prompt state.

2. Checkpoint Snapshots & Instant Rollbacks

Every time an agent completes a task, BhaiCode Desktop records an ephemeral Git Checkpoint Snapshot:

  • Click Rollback to Checkpoint in the toolbar to immediately return your entire working tree to the state it was in before the prompt was submitted.
  • Checkpoints act as a safe local undo stack without cluttering your permanent Git commit history.

Ready to build with AI?

Start building for free with your own keys, or unlock managed compute in seconds