Xcode indentation settings. Nov 4, 2016 · I am trying to set the default indentation and...
Xcode indentation settings. Nov 4, 2016 · I am trying to set the default indentation and tabs in Xcode 8. 1 - Indentation must be done using tabs, each tab has 4 spaces width (set Xcode > Preferences > Text Editing > Indentation) 2 - Always avoid long lines; max line length should be 160 characters (set XCode > Preferences > Text Editing > Page Guide Column) Feb 28, 2025 · Learn how to efficiently indent multiple lines in Xcode without losing your code. You can change the indentation width for just one project by selecting the project in the Project Navigator, then setting the “Indent“ value in the “Text Settings” section of the File Jun 23, 2009 · 4 As of Xcode 4. 1 no custom namespace indent options are available, however I overcame this irritation by navigating to Preferences->Text Editing->Indentation and disabling "Syntax-aware indenting". Then choose the “Indentation” tab. As of Xcode 9, there is an indentation settings page in Preferences/Text Editing/Indentation, but this includes no options for advanced indentation for each statement. Objective-C and Swift). editorconfig to override the default settings. Ctrl + I just makes an indent, but for example i want to have proper space between functions and just all the stuff like in Clang. the whole file) and you can have your 4 (or as many you set up) spaces instead of tabs.