travisjeffery / ClangFormat-Xcode

Xcode plug-in to to use clang-format from in Xcode and consistently format your code with Clang
https://twitter.com/travisjeffery
MIT License
2.89k stars 288 forks source link

Add "Format lines modified since last commit"-action #40

Open parallaxe opened 10 years ago

parallaxe commented 10 years ago

An action that would format all lines that are marked as modified since the last commit would be nice.

lboecker commented 10 years ago

Since it's specific to Git I guess you could use a pre-commit hook instead.