How can I stop Xcode from indenting on hitting return

Xcode 13.3

Whenever I hit enter on Xcode, it starts off the new line with an indentation. It doesn't matter if I am creating a new line, or moving lines down, it always start the new line, or the moved line with an indentation.

This happens when I have:

Prefer Indent Using set to Tabs

regardless if I have Syntax-Aware Indenting: Return checked or unchecked

Any thoughts?

Update, now somehow it does that auto indent on every line no matter whether I set it tabs or spaces. It's as if I broke it. Very annoying, please help!

How are Xcode settings defined ?

have you tried to turn Return off ?

are you writing within braces when this happens?

Well there are braces everywhere, but it happens EVERYTIME I hit return

Any update on this? Having the same issue!

How can I stop Xcode from indenting on hitting return
 
 
Q