3 ms·
Does no one use a pretty printer before committing code? Pretty printing would eliminate any doubt as to what code belongs to what if-statement and the like.
by Dewie 13y ago
Does no one use a pretty printer before committing code? Pretty printing would eliminate any doubt as to what code belongs to what if-statement and the like.
- micro-ram 13y agoI use Astyle to enforce both braces and indentation automatically. In VC Pre-Build Event add: Astyle -A1 -j -c -v asterisk.cpp asterisk.h (Sorry asterisks italicize on HN) http://astyle.sourceforge.net/ http://astyle.sourceforge.net/