I am trying to set the default indentation and tabs in Xcode 8.x to 2 spaces
In the utilities I changes the default values from 4
to 2
However nothing has changed. Did I miss something?
You have to go to every file and then to Ctrl + A then Ctrl + I which will indent the file with the two spaces. That setting does not touch files already created in the project.
If you want to do this for all projects, you can set this globally in the Text Editing / Indentation preferences:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With