Xcode code formatter Swift
I'm trying to auto format my code written in Swift. It's necessary if you're working in team and using CVS and don't want to merge for hours.
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.
Select first the text you want to format and then press Ctrl + I . Use Cmd + A first if you wish to format all text in the selected file.
The reformat code command in xcode is Ctrl-I, not Cmd-I and it appears to work just fine.
An abstract class that declares an interface for objects that create, interpret, and validate the textual representation of values.
The reformat code command in xcode is Ctrl-I, not Cmd-I and it appears to work just fine.
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