Agent edits are not showing in file preview

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When agent makes an edit (new line or delete line), it shows in the chat. But it’s partially showing them in file preview (with green and red lines). For example, if agent did changes in 2 parts, one of them shows, the other doesn’t (looks pretty random which edit shows and which doesn’t). It’s supposed to be standard behavior to show all changes, but it started to misbehave recently.

You can see in the screenshot:

Chat is showing edits but I can’t see them in the file preview. (And I promise I didn’t click accept within the file :))

Steps to Reproduce

No specific condition required. Just a standard prompt in agent mode.

Expected Behavior

All the edits that the agent made should be visible in file preview.

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Version: 2.5.17
VSCode Version: 1.105.1
Commit: 7b98dcb824ea96c9c62362a5e80dbf0d1aae4770
Date: 2026-02-17T05:58:33.110Z
Build Type: Stable
Release Track: Default
Electron: 39.3.0
Chromium: 142.0.7444.265
Node.js: 22.21.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.2.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, this is a known issue. The agent only shows a diff for the first change in a file, and the rest get applied without highlighting.

A few users have already run into the same thing: Only some diffs are shown when agent makes changes

The bug is logged and the team is aware. There’s no ETA yet, but your report helps with prioritization.

As a workaround, you can check changes via git diff or the Review button in chat.

A post was merged into an existing topic: Only some diffs are shown whhen agent makes changes