Cursor deleting last line from plan files when opening

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Given a plan file, e.g. plans/my_plan.md. When the plan file is opened in an editor tab, the last line from the plan file is quietly deleted.

When switching back to an editor tab that contains a plan file, the last line of the plan file is deleted as well.

Steps to Reproduce

  1. Open Cursor
  2. Create a new plan using “Plan” mode
  3. Open the plan in an editor tab by clicking “View plan”
  4. Note the last couple of lines of the plan file, and its timestamp
  5. Open a different file in an editor tab
  6. Switch back to the tab with the plan file
  7. Note that the last line was deleted, and the timestamp was updated

Expected Behavior

Plan files should not be modified just by opening them.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.44 (Universal)
VSCode Version: 1.105.1
Commit: 20adc1003928b0f1b99305dbaf845656ff81f5d0
Date: 2025-12-24T21:41:47.598Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 24.6.0

Additional Information

It still happens with all extensions disabled.

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @Alberto_Salmeron!

Thanks for the report.

Can you give 2.3 a try (Download · Cursor, if it hasn’t rolled out to you automatically) and let us know if you still have an issue? We fixed some issues with wonky file editing.

Yes, that fixed the issue for me, thanks! Checking for updates didn’t download Cursor 2.3 for me, so I had to download it manually.

1 Like