Is any way to autoformat a source code in the Xcode IDE?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There isn’t really an autoformat option in Xcode.
There is an option
^I(Control-I) to re-indent the code, which will re-align the code according to the tab width set in your preferences, but that’s about as far as it goes.You might have better luck with a text editor like TextMate? I don’t know for certain, but I know it supports Objective-C and has some macros, there may be a reformat option?