Agent insert blank line with no reason

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When working in Cursor IDE, if I assign a task to the Agent, blank lines get added to files while the Agent is reading them. As a result, when committing later, I have to manually track and revert changes where only blank lines were added, which creates a very tedious additional task.

Steps to Reproduce

Set the Agent to Plan mode and assign it a task.

Expected Behavior

I do not want meaningless blank lines to be added to my files.

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.36 (user setup)
VSCode Version: 1.105.1
Commit: 55c9bc11e99cedd1fb93fbb7996abf779c583150
Date: 2025-12-18T06:25:21.733Z
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.26200

For AI issues: which model did you use?

Auto

For AI issues: add Request ID with privacy disabled

a9f6657e-1afb-4d16-87d2-339884aa9ff0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Have fixes for new lines coming shortly.

1 Like

thank you

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