I noticed that when I write a prompt in the AI panel, the changes are applied automatically. Previously, Cursor showed a diff preview with options like Undo, Keep, or Apply, but those options have disappeared.
Now the edits are applied directly to the file without asking for confirmation.
Did something change in a recent update, or is there a setting that enables the old behavior with the diff preview and Undo/Keep buttons?
I would prefer to review the changes before they are applied. Any help would be appreciated.
Steps to Reproduce
Open Cursor
Open any project or file
Open the AI chat panel on the right side
Write a prompt asking Cursor to modify the file
Cursor applies the changes automatically without showing Undo / Keep / Apply
Expected Behavior
Cursor should show a diff preview before applying changes. The AI suggestions should include options like Undo, Keep, or Apply, allowing me to review the modifications before they are applied to the file.
A lot of people were having this issue earlier, but I thought it was patched and you have the latest version.
Also changes are always applied to the files immediately, that is why the button to remove them is Undo not Accept. But you are saying you neither see the undo/keep buttons nor the line diffs in the file? In the screenshot you shared, when you click does it go to the file and show the colored diffs like in chat?
Also the buttons may have been moved to the breadcrumbs at the top of the file instead of overlayed.
Hey, your screenshot shows the Undo All, Keep All, and Review buttons at the bottom of the chat. That’s the main way to review changes in the current version.
In Cursor, changes are always applied to files right away. The Keep button confirms them, and Undo reverts them. It may have looked a bit different before, but it works the same.
A few things to check:
When you click the file name in chat (the go to file button), does the file open with colored change highlights (green and red lines)?
Try pressing Ctrl+E. It switches the editor layout to the classic one, where the Undo and Keep buttons might show up the way you’re used to.
Also check the breadcrumbs at the top of the file. The review buttons might have moved there.
If you don’t see inline diffs in files at all (no colored highlights on changed lines), let me know. That’s a different issue, and we can dig into it.