How to ignore empty lines in composer?

Hi,

I’m experiencing an issue with Composer when It wants code changes. The differences are displayed like this:

The problem is that it shows 90+ empty lines change, while it should show only 11 lines with actual code change.

Is there any setting that I need to change to fix it?

Thanks

1 Like

I came to ask the same question - the agent modifies files and shows a bunch of empty lines at the top, so I have to accept all, and then find out that it forgot some property on line 443.

Hey, this was reported in another thread and we believe we have pushed a fix for this already, are either of you still facing this issue in Composer?

Yes, same problem. Cursor version:

Version: 0.44.11
VSCode Version: 1.93.1
Commit: fe574d0820377383143b2ea26aa6ae28b3425220
Date: 2025-01-03T07:59:06.361Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.22631

Same issue for me. I’m on a slightly older version than puliczek… Will try updating…

Version: 0.44.9
VSCode Version: 1.93.1
Commit: 316e524257c2ea23b755332b0a72c50cf23e1b00
Date: 2024-12-26T21:58:59.149Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.22631

I have the same issue. It’s super annoying

The problem with whitespace in agent mode persists in
Cursor Setup 0.44.11 - x64.exe

Hey, we are aware of this and are working on a fix currently!
Sorry you are seeing this in the meantime…

1 Like

Hi, been facing this issue for a few days now… Not all the time, but most of the time… Very annoyed!!! I mean, how hard is it to mitigate this issue??? its just a bunch of empty lines that do no purpose, a simple find and replace should be sufficient. These lines aren’t even rendered in the file itself, only in composer… I am curious what causes this issue, I initially thought its anthropic trying to sneak in extra token costs, because I see no other feasible reason this shouldn’t be fixed in like 5 minutes… and its been weeks already