Skip to content

Instantly share code, notes, and snippets.

@Furkanzmc
Last active May 11, 2018 01:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Furkanzmc/78755854a174d470444c4e8b2c940eea to your computer and use it in GitHub Desktop.
Save Furkanzmc/78755854a174d470444c4e8b2c940eea to your computer and use it in GitHub Desktop.
My favorite astyle configuration
--align-pointer=name
--align-reference=name
--convert-tabs
--mode=c
--pad-method-colon=after
--pad-header
--pad-method-prefix
--pad-oper
-A8
--unpad-paren
-y
--max-code-length=160
--min-conditional-indent=0
--add-braces
--attach-return-type
--attach-return-type-decl
--indent-after-parens
--indent-continuation=1
--indent-preproc-block
--indent-preproc-define
--indent-col1-comments
--close-templates
--indent=spaces=4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment