Any way to setup AS formatter as a pre-commit hook...
# intellij
g
Any way to setup AS formatter as a pre-commit hook? I, personally, think that build-in commit dialog is the best, but some folks prefer SourceTree and I'm wondering if they can have formatation automated as well.
a
I can’t answer, but related to this, I wish there was a post-commit (or post-formatting) dialog shown if reformatting actually changed anything, because sometimes I’d just rewrite the code if I’m not happy about how it gets autoformatted (mainly when using “chop down arguments if line is too long”)