1123323fda
o applied new coding standards to all .c files o moved some files around
60 lines
1.4 KiB
ActionScript
60 lines
1.4 KiB
ActionScript
|
|
# detached brackets
|
|
--style=allman
|
|
|
|
# 4 spaces, no tabs
|
|
--indent=spaces=4
|
|
|
|
# for C++ files only
|
|
--indent-classes
|
|
|
|
# Indent 'switch' blocks so that the 'case X:' statements are indented in the switch block.
|
|
# The entire case block is indented.
|
|
--indent-switches
|
|
|
|
# Add extra indentation to namespace blocks. This option has no effect on Java files.
|
|
--indent-namespaces
|
|
|
|
# Converts tabs into spaces in the non-indentation part of the line.
|
|
--convert-tabs
|
|
|
|
# requires --convert-tabs to work properly
|
|
--indent-preprocessor
|
|
|
|
--indent-col1-comments
|
|
|
|
--min-conditional-indent=2
|
|
|
|
--max-instatement-indent=40
|
|
|
|
# Pad empty lines around header blocks (e.g. 'if', 'for', 'while'...).
|
|
--break-blocks
|
|
|
|
# Insert space padding around operators.
|
|
--pad-oper
|
|
|
|
# Insert space padding after paren headers only (e.g. 'if', 'for', 'while'...).
|
|
--pad-header
|
|
|
|
|
|
# Add brackets to unbracketed one line conditional statements (e.g. 'if', 'for', 'while'...).
|
|
--add-brackets
|
|
|
|
--align-pointer=name
|
|
|
|
# Do not retain a backup of the original file. The original file is purged after it is formatted.
|
|
--suffix=none
|
|
|
|
# For each directory in the command line, process all subdirectories recursively.
|
|
--recursive
|
|
|
|
# Preserve the original file's date and time modified.
|
|
--preserve-date
|
|
|
|
# Formatted files display mode. Display only the files that have been formatted.
|
|
# Do not display files that are unchanged.
|
|
--formatted
|
|
|
|
--lineend=linux
|
|
|