Tattat
Tattat

Reputation: 15778

Is there any short cuts for Xcode to tidy up the code?

for example, I have something like this:

aVarible = 123; 
bIndex = 234; 
cSomethingVerylong = 456;

And I would like to intent the code like this:

aVarible           = 123; 
bIndex             = 234; 
cSomethingVerylong = 456;

How can I do so? Thank you.

Upvotes: 0

Views: 390

Answers (1)

Dave
Dave

Reputation: 3448

You could use uncrustify:

http://uncrustify.sourceforge.net/

I don't use it, so I cannot vouch for its quality, but it does claim to do exactly what you suggest in your question. If that's all you want to do, it's probably overkill, but if you want to "tidy" your code in a number of ways, then that's what uncrustify is there for.

Upvotes: 1

Related Questions