# Breaks indentations, multiple new lines

**URL:** <https://forum.cursor.com/t/breaks-indentations-multiple-new-lines/134358>\
**Category:** Bug Reports\
**Created:** [September 21, 2025, 4:22pm UTC](https://forum.cursor.com/t/breaks-indentations-multiple-new-lines/134358 "2025-09-21T16:22:18Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![orbisius](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/orbisius/32/31706_2.png) [@orbisius](https://forum.cursor.com/u/orbisius)\
**Post date:** [September 21, 2025, 4:22pm UTC](https://forum.cursor.com/t/breaks-indentations-multiple-new-lines/134358/1 "2025-09-21T16:22:18Z")

</div>

### 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

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [September 21, 2025, 6:22pm UTC](https://forum.cursor.com/t/breaks-indentations-multiple-new-lines/134358/2 "2025-09-21T18:22:14Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![orbisius](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/orbisius/32/31706_2.png) [@orbisius](https://forum.cursor.com/u/orbisius)\
**Post date:** [September 21, 2025, 6:38pm UTC](https://forum.cursor.com/t/breaks-indentations-multiple-new-lines/134358/3 "2025-09-21T18:38:02Z")

</div>

I always use the default/auto

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/6/3/63a8b332b256fbd4448f5764d6ad66325b172b9c.png)

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [September 21, 2025, 6:41pm UTC](https://forum.cursor.com/t/breaks-indentations-multiple-new-lines/134358/4 "2025-09-21T18:41:00Z")

</div>

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

> **[Getting a Request ID | Cursor Docs](https://cursor.com/docs/troubleshooting/request-reporting)**
>
> Report issues and track request IDs for debugging with support.

---

<div class="post-metadata">

**Author:** ![orbisius](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/orbisius/32/31706_2.png) [@orbisius](https://forum.cursor.com/u/orbisius)\
**Post date:** [September 21, 2025, 7:08pm UTC](https://forum.cursor.com/t/breaks-indentations-multiple-new-lines/134358/5 "2025-09-21T19:08:25Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![orbisius](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/orbisius/32/31706_2.png) [@orbisius](https://forum.cursor.com/u/orbisius)\
**Post date:** [September 24, 2025, 10:28am UTC](https://forum.cursor.com/t/breaks-indentations-multiple-new-lines/134358/6 "2025-09-24T10:28:39Z")

</div>

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???

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/8/6/86eeab5bcd897e112a779704946d29e163404742.png)

---

<div class="post-metadata">

**Author:** ![orbisius](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/orbisius/32/31706_2.png) [@orbisius](https://forum.cursor.com/u/orbisius)\
**Post date:** [September 24, 2025, 12:26pm UTC](https://forum.cursor.com/t/breaks-indentations-multiple-new-lines/134358/7 "2025-09-24T12:26:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [October 16, 2025, 12:26pm UTC](https://forum.cursor.com/t/breaks-indentations-multiple-new-lines/134358/8 "2025-10-16T12:26:51Z")

</div>

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