Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable the auto-indentation of Xcode?

How can I disable the feature that when I hit "return" the cursor will be placed on the next line with tabs?

like image 994
JASON Avatar asked Mar 23 '11 09:03

JASON


People also ask

How do I fix indentation in Swift?

Xcode tip #21: If you've copied code from elsewhere, such as Hacking with Swift or Stack Overflow, there's a good chance you'll paste in something with incorrect indentation. Xcode can fix this with one shortcut: select the code you want to fix, then press Ctrl+I to reindent it.

How do you remove an indentation code?

If you're using IDLE, you can use Ctrl+] to indent and Ctrl+[ to unindent.


1 Answers

Xcode - preference(or press keys command+,) - Indentations

There you can disable it.

like image 115
Xiao Avatar answered Sep 30 '22 18:09

Xiao