Skip to content

Instantly share code, notes, and snippets.

@polovik
Created August 26, 2016 12:02
Show Gist options
  • Save polovik/e69cebf09a360266ae2c9005b7db56f6 to your computer and use it in GitHub Desktop.
Save polovik/e69cebf09a360266ae2c9005b7db56f6 to your computer and use it in GitHub Desktop.
Rreformatting C++ code according to Qt Coding Style
astyle --brackets=linux --indent=spaces=4 --indent-preprocessor --min-conditional-indent=0 --max-instatement-indent=40 --pad-oper --unpad-paren --pad-header --fill-empty-lines --align-pointer=name --align-reference=name --convert-tabs --lineend=linux --formatted `find ./ -type f -name '*.c' -or -name '*.h' -or -name '*.cpp'`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment