franck
franck

Reputation: 3015

How to trigger automatic indentation on commit in xcode

In Xcode, is it possible to automatically trigger indentation on Objective-C code for a file when committing it? Does someone know a tool to reindent Objective-C code in bash?

Upvotes: 2

Views: 273

Answers (1)

the
the

Reputation: 21891

You could add something like uncrustify to the git pre-commit hook.

Upvotes: 3

Related Questions