astylerc 1.1 KB

12345678910111213141516171819
  1. # Filename: astylerc
  2. # Purpose: config file for astyle
  3. # http://astyle.sourceforge.net/astyle.html
  4. # Author: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com>
  5. # Savoir-faire Linux Inc
  6. # http://www.ring.cx
  7. style=stroustrup # stroustrup style http://astyle.sourceforge.net/astyle.html#_style=stroustrup
  8. indent=spaces=4 # Use spaces instead of tabs for indentation
  9. indent-classes # Indent 'class' and 'struct' blocks so that the blocks 'public:', 'protected:' and 'private:' are indented
  10. indent-switches # Indent 'switch' blocks so that the 'case X:' statements are indented in the switch block
  11. break-blocks # Pad empty lines around header blocks (e.g. 'if', 'while'...).
  12. brackets=linux
  13. unpad-paren # Remove unwanted space around parentheses
  14. pad-header # Insert space padding after paren headers only (e.g. 'if', 'for', 'while'...)
  15. pad-oper # Insert space padding around operator
  16. formatted # only display files that have changed
  17. suffix=none # don't create backup files (that's what version control is for)