How to Adjust Indents and Spacing in Xcode

Last updated on January 18, 2022 A Goodman Loading... Post a comment

Xcode is a great IDE (integrated development environment) for developing applications for iOS, macOS, tvOS, watchOS, and iPadOS. This article shows you how to adjust indents and spacing in Xcode 13.2 and later, step by step.

1. Open your Xcode and go to Xocde > Preferences from the top bar (shortcuts: Command + ,):

2. Select Text Editing from the menu:

3. Select the Indentation tab then change the number in the text box next to the Tab Width label to your preferred one like 2, 3, etc.

Everything will be automatically saved. Done!

Further reading:

I have made every effort to ensure that every step in this article works properly, but I may have made some mistakes or omissions. If so, please leave a comment to report errors.

Notify of
Inline Feedbacks
View all comments

Related Articles