Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Plan mode will sometimes create plan docs where the contents of code blocks are heavy indented for no apparent reason. Sometimes this only happens when it edits…just steadily indents a lot of them within the doc with each edit despite having nothing to do with the edits it was trying to make.
Steps to Reproduce
Not reliable to reproduce because it doesn’t always happen, but just give it requests to include documentation for how to set something up that requires commands on CLI to be used and it might do the heavy weird indentation.
Expected Behavior
Code blocks have no indentation within them unless it is to align parts that should be indented, such as lines 2+ of a curl command.
Screenshots / Screen Recordings
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.2.44
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 x64 25.1.0
Does this stop you from using Cursor
No - Cursor works, but with this issue
