Skip to content
Snippets Groups Projects
Select Git revision
  • 96f53b6428bf45295008ef4c60fd765e2e24630f
  • master default protected
2 results

README.md

Blame
  • uncrustify.cfg 49.11 KiB
    # Uncrustify 0.51+svn
    
    #
    # General options
    #
    
    # The type of line endings
    newlines                                 = auto     # auto/lf/crlf/cr
    
    # The original size of tabs in the input
    input_tab_size                           = 4        # number
    
    # The size of tabs in the output (only used if align_with_tabs=true)
    output_tab_size                          = 4        # number
    
    # The ascii value of the string escape char, usually 92 (\) or 94 (^). (Pawn)
    string_escape_char                       = 92       # number
    
    # Alternate string escape char for Pawn. Only works right before the quote char.
    string_escape_char2                      = 0        # number
    
    #
    # Indenting
    #
    
    # The number of columns to indent per level.
    # Usually 2, 3, 4, or 8.
    indent_columns                           = 4        # number
    
    # How to use tabs when indenting code
    # 0=spaces only
    # 1=indent with tabs, align with spaces
    # 2=indent and align with tabs
    indent_with_tabs                         = 1        # number
    
    # Whether to indent strings broken by '\' so that they line up
    indent_align_string                      = true     # false/true
    
    # The number of spaces to indent multi-line XML strings.
    # Requires indent_align_string=True
    indent_xml_string                        = 0        # number
    
    # Spaces to indent '{' from level
    indent_brace                             = 0        # number
    
    # Whether braces are indented to the body level
    indent_braces                            = false    # false/true
    
    # Disabled indenting function braces if indent_braces is true
    indent_braces_no_func                    = false    # false/true
    
    # Indent based on the size of the brace parent, ie 'if' => 3 spaces, 'for' => 4 spaces, etc.
    indent_brace_parent                      = false    # false/true
    
    # Whether the 'namespace' body is indented
    indent_namespace                         = false    # false/true
    
    # Whether the 'extern "C"' body is indented
    indent_extern                            = false    # false/true
    
    # Whether the 'class' body is indented
    indent_class                             = true     # false/true
    
    # Whether to indent the stuff after a leading class colon
    indent_class_colon                       = false    # false/true
    
    # False=treat 'else\nif' as 'else if' for indenting purposes
    # True=indent the 'if' one level
    indent_else_if                           = true     # false/true