Cursor treat my own code as AI-generated and cannot Undo neither Keep

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Now whether what I type in in a special cpp file , cursor treat them as AI-genereated(with light blue line background) and show the "Undo All Keep All Review next file " on which Clicking those button will not response.
This bug is very annoying, anyway to fix it ASAP?

Steps to Reproduce

This bug is 100% reproduce once I open this cpp file. I accepted and refused some AI code before but nothing should be abnormal.

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.0.77 (system setup)
VSCode Version: 1.99.3
Commit: ba90f2f88e4911312761abab9492c42442117cf0
Date: 2025-11-13T23:10:43.113Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.19045

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. This is a known bug in the review system state management that the team is already tracking.

To help prioritize a fix, could you please share:

  • Console errors: Help → Toggle Developer Tools → Console (a screenshot of any errors)
  • File type: does this happen only with your .cpp file, or with other file types too?
  • Request ID: Chat (top-right menu) → Copy Request ID

Temporary workaround: use Git to review the actual changes instead of the in-editor review system. The code changes should still be applied correctly even if the UI buttons don’t work.

Let me know if the file changes are being saved despite the UI issue!

Thanks for your help.

  1. Only happen on a certain cpp file. Others work well.
  2. 7e0ca05f-14ea-408b-b335-8b5ebe78f255

The file can be correctly save,this bug doesn’t block my workflow, just confusing.

1 Like

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.