Created
August 10, 2018 14:13
-
-
Save Istom1n/6d686ace1a691226ed8a4b39ee63cdbb to your computer and use it in GitHub Desktop.
Istom1n's config for Artistic Style
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Google style uses attached braces and indented class access modifiers. | |
-A14 | |
# Convert tabs | |
-c | |
# 4 space indent | |
-s4 | |
# Indent 'class' and 'struct' access modifiers, 'public:', 'protected:' and 'private:', one half indent. | |
-xG | |
# Indent 'switch' blocks so that the 'case X:' statements are indented in the switch block. The entire case block is indented. | |
-S | |
# Don't retain a backup of the original file. The original file is purged after it is formatted. | |
#-n | |
# Don't break one-line blocks. | |
-O | |
# Don't break complex statements and multiple statements residing on a single line. | |
-o | |
# Attach a pointer or reference operator (*, &, or ^) to the variable name (right). | |
-k3 | |
# Insert space padding after paren headers only (e.g. 'if', 'for', 'while'...). | |
-H | |
# Insert space padding around operators. | |
-p | |
# Indent C++ comments beginning in column one. | |
-Y | |
# Aka. monospaced default width of the terminal | |
-xC72 | |
-xL | |
# Attach a pointer or reference operator (*, &, or ^) to either the variable type/name | |
-k3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Before
After