It’s time to automate formatting code. The only formatter I know of that will do the vertical alignment I prefer is clang-format, so I’m using that. Start with an llvm format: clang-format -style=llvm -dump-config > .clang-format Then modify .clang-format to more closely match the style I’m using. There’s a couple of features in newer versions of clang-format that would make the output a bit better, but this is close enough. ColumnLimit: 200 BreakBeforeBraces: Allman AlignAfterOpenBracket: Align AlignArrayOfStructures: Right AlignConsecutiveMacros: AcrossEmptyLines AlignConsecutiveAssignments: AcrossEmptyLines AlignConsecutiveBitFields: AcrossEmptyLines AlignConsecutiveDeclarations: AcrossEmptyLines AlignEscapedNewlines: Right AlignOperands: Align AlwaysBreakAfterReturnType: AllDefinitions AllowShortFunctionsOnASingleLine: None PointerAlignment: Left
Hide player controls
Hide resume playing