Breaks indentations, multiple new lines

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

breaks indentations usually fewer indets than code, adds multiple new lines when code is removed. also removes/adds indents around return keyword.
doesn’t really follow the rules set in the settings.
I keep asking it t to stop checking for === false and use php’s empty() method instead and it keeps forgetting in the next 1-2-3 chats!

I am using it in php based project.

Steps to Reproduce

just use the tool

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.6.42 (Universal)
VSCode Version: 1.99.3
Commit: 5911e9593196a000b1c00553aaf03b0b32042b90
Date: 2025-09-20T17:16:56.346Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin x64 23.6.0

For AI issues: which model did you use?

it’s auto, not sure.

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. Could you let me know which model you’re using?

I always use the default/auto

1 Like

Could you share the request ID? You’ll need to disable privacy mode first.

I think it’s this. Does it give you enough info?
ef9a86e6-feb8-4f7b-8c9a-321559a583d9

hmm, disabled the privacy mode but it gave me the same hash.
ef9a86e6-feb8-4f7b-8c9a-321559a583d9

do I disable privacy mode, wait to hear from you and then reenable it ?

I added some custom rules (global) and it seems cursor checks them and reformats the content now but it’s a hack.

Anther question: WHY do I have to ACCEPT the code I just typed???

another thing. can you make Cursor REMEMBER the font size for the whole thing and chat ??
I increase the font size using CTRL and + so I can actually see the chat. Yes. I set the chat font size but it’s still too small. So everytime I open Cursor I have to again adjust the font size

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