Обновление
This commit is contained in:
parent
2c51ecc3dc
commit
64734662a9
70
default.cfg
70
default.cfg
@ -39,11 +39,13 @@ tok_split_gte = false # true/false
|
||||
|
||||
# Specify the marker used in comments to disable processing of part of the
|
||||
# file.
|
||||
# The comment should be used alone in one line.
|
||||
#
|
||||
# Default: *INDENT-OFF*
|
||||
disable_processing_cmt = " *INDENT-OFF*" # string
|
||||
|
||||
# Specify the marker used in comments to (re)enable processing in a file.
|
||||
# The comment should be used alone in one line.
|
||||
#
|
||||
# Default: *INDENT-ON*
|
||||
enable_processing_cmt = " *INDENT-ON*" # string
|
||||
@ -604,6 +606,10 @@ sp_catch_paren = ignore # ignore/add/remove/force
|
||||
# in '@catch (something) { }'. If set to ignore, sp_catch_paren is used.
|
||||
sp_oc_catch_paren = ignore # ignore/add/remove/force
|
||||
|
||||
# (OC) Add or remove space before Objective-C protocol list
|
||||
# as in '@protocol Protocol<here><Protocol_A>' or '@interface MyClass : NSObject<here><MyProtocol>'.
|
||||
sp_before_oc_proto_list = ignore # ignore/add/remove/force
|
||||
|
||||
# (OC) Add or remove space between class name and '('
|
||||
# in '@interface className(categoryName)<ProtocolName>:BaseClass'
|
||||
sp_oc_classname_paren = ignore # ignore/add/remove/force
|
||||
@ -671,9 +677,7 @@ sp_getset_brace = ignore # ignore/add/remove/force
|
||||
|
||||
# Add or remove space between a variable and '{' for C++ uniform
|
||||
# initialization.
|
||||
#
|
||||
# Default: add
|
||||
sp_word_brace = add # ignore/add/remove/force
|
||||
sp_word_brace_init_lst = add # ignore/add/remove/force
|
||||
|
||||
# Add or remove space between a variable and '{' for a namespace.
|
||||
#
|
||||
@ -1113,6 +1117,10 @@ indent_member_single = false # true/false
|
||||
# Spaces to indent single line ('//') comments on lines before code.
|
||||
indent_sing_line_comments = 0 # unsigned number
|
||||
|
||||
# When opening a paren for a control statement (if, for, while, etc), increase
|
||||
# the indent level by this value. Negative values decrease the indent level.
|
||||
indent_sparen_extra = 0 # number
|
||||
|
||||
# Whether to indent trailing single line ('//') comments relative to the code
|
||||
# instead of trying to keep the same absolute column.
|
||||
indent_relative_single_line_comments = true # true/false
|
||||
@ -1219,12 +1227,19 @@ indent_preserve_sql = false # true/false
|
||||
# Default: true
|
||||
indent_align_assign = true # true/false
|
||||
|
||||
# If true, the indentation of the chunks after a '=' sequence will be set at
|
||||
# LHS token indentation column before '='.
|
||||
indent_off_after_assign = false # true/false
|
||||
|
||||
# Whether to align continued statements at the '('. If false or the '(' is
|
||||
# followed by a newline, the next line indent is one tab.
|
||||
#
|
||||
# Default: true
|
||||
indent_align_paren = true # true/false
|
||||
|
||||
# (OC) Whether to indent Objective-C code inside message selectors.
|
||||
indent_oc_inside_msg_sel = false # true/false
|
||||
|
||||
# (OC) Whether to indent Objective-C blocks at brace level instead of usual
|
||||
# rules.
|
||||
indent_oc_block = false # true/false
|
||||
@ -1284,6 +1299,15 @@ indent_token_after_brace = true # true/false
|
||||
# Whether to indent the body of a C++11 lambda.
|
||||
indent_cpp_lambda_body = false # true/false
|
||||
|
||||
# How to indent compound literals that are being returned.
|
||||
# true: add both the indent from return & the compound literal open brace (ie:
|
||||
# 2 indent levels)
|
||||
# false: only indent 1 level, don't add the indent for the open brace, only add
|
||||
# the indent for the return.
|
||||
#
|
||||
# Default: true
|
||||
indent_compound_literal_return = true # true/false
|
||||
|
||||
# (C#) Whether to indent a 'using' block if no braces are used.
|
||||
#
|
||||
# Default: true
|
||||
@ -1296,6 +1320,12 @@ indent_using_block = true # true/false
|
||||
# 2: When the `:` is a continuation, indent it under `?`
|
||||
indent_ternary_operator = 0 # unsigned number
|
||||
|
||||
# Whether to indent the statments inside ternary operator.
|
||||
indent_inside_ternary_operator = false # true/false
|
||||
|
||||
# If true, the indentation of the chunks after a `return` sequence will be set at return indentation column.
|
||||
indent_off_after_return = false # true/false
|
||||
|
||||
# If true, the indentation of the chunks after a `return new` sequence will be set at return indentation column.
|
||||
indent_off_after_return_new = false # true/false
|
||||
|
||||
@ -1329,7 +1359,7 @@ nl_getset_leave_one_liners = true # true/false
|
||||
nl_cs_property_leave_one_liners = false # true/false
|
||||
|
||||
# Don't split one-line function definitions, as in 'int foo() { return 0; }'.
|
||||
# night modify nl_func_type_name
|
||||
# might modify nl_func_type_name
|
||||
nl_func_leave_one_liners = false # true/false
|
||||
|
||||
# Don't split one-line C++11 lambdas, as in '[]() { return 0; }'.
|
||||
@ -1684,6 +1714,9 @@ nl_func_decl_args = ignore # ignore/add/remove/force
|
||||
# Add or remove newline after each ',' in a function definition.
|
||||
nl_func_def_args = ignore # ignore/add/remove/force
|
||||
|
||||
# Add or remove newline after each ',' in a function call.
|
||||
nl_func_call_args = ignore # ignore/add/remove/force
|
||||
|
||||
# Whether to add a newline after each ',' in a function declaration if '('
|
||||
# and ')' are in different lines. If false, nl_func_decl_args is used instead.
|
||||
nl_func_decl_args_multi_line = false # true/false
|
||||
@ -1737,6 +1770,9 @@ nl_func_call_args_multi_line = false # true/false
|
||||
# different lines.
|
||||
nl_func_call_end_multi_line = false # true/false
|
||||
|
||||
# Whether to respect nl_func_call_XXX option incase of closure args.
|
||||
nl_func_call_args_multi_line_ignore_closures = false # true/false
|
||||
|
||||
# Whether to add a newline after '<' of a template parameter list.
|
||||
nl_template_start = false # true/false
|
||||
|
||||
@ -1871,7 +1907,7 @@ nl_before_return = false # true/false
|
||||
# close brace.
|
||||
nl_after_return = true # true/false
|
||||
|
||||
# (Java) Whether to put a blank line before a member '.' or '->' operators.
|
||||
# Whether to put a blank line before a member '.' or '->' operators.
|
||||
nl_before_member = ignore # ignore/add/remove/force
|
||||
|
||||
# (Java) Whether to put a blank line after a member '.' or '->' operators.
|
||||
@ -2331,7 +2367,7 @@ align_assign_decl_func = 2 # unsigned number
|
||||
# The span for aligning on '=' in enums.
|
||||
#
|
||||
# 0: Don't align (default).
|
||||
align_enum_equ_span = 0 # unsigned number
|
||||
align_enum_equ_span = 1 # unsigned number
|
||||
|
||||
# The threshold for aligning on '=' in enums.
|
||||
# Use a negative number for absolute thresholds.
|
||||
@ -2503,6 +2539,11 @@ align_oc_msg_colon_first = false # true/false
|
||||
# on the ':'.
|
||||
align_oc_decl_colon = false # true/false
|
||||
|
||||
# (OC) Whether to not align parameters in an Objectve-C message call if first
|
||||
# colon is not on next line of the message call (the same way Xcode does
|
||||
# aligment)
|
||||
align_oc_msg_colon_xcode_like = false # true/false
|
||||
|
||||
#
|
||||
# Comment modification options
|
||||
#
|
||||
@ -2920,6 +2961,11 @@ use_sp_after_angle_always = false # true/false
|
||||
# Default: true
|
||||
use_options_overriding_for_qt_macros = true # true/false
|
||||
|
||||
# If true: the form feed character is removed from the list
|
||||
# of whitespace characters.
|
||||
# See https://en.cppreference.com/w/cpp/string/byte/isspace
|
||||
use_form_feed_no_more_as_whitespace_character = false # true/false
|
||||
|
||||
#
|
||||
# Warn levels - 1: error, 2: warning (default), 3: note
|
||||
#
|
||||
@ -2930,6 +2976,16 @@ use_options_overriding_for_qt_macros = true # true/false
|
||||
# Default: 2
|
||||
warn_level_tabs_found_in_verbatim_string_literals = 2 # unsigned number
|
||||
|
||||
# Limit the number of loops.
|
||||
# Used by uncrustify.cpp to exit from infinite loop.
|
||||
# 0: no limit.
|
||||
debug_max_number_of_loops = 0 # number
|
||||
|
||||
# Set the number of the line to protocol;
|
||||
# Used in the function prot_the_line if the 2. parameter is zero.
|
||||
# 0: nothing protocol.
|
||||
debug_line_number_to_protocol = 0 # number
|
||||
|
||||
# Meaning of the settings:
|
||||
# Ignore - do not do any changes
|
||||
# Add - makes sure there is 1 or more space/brace/newline/etc
|
||||
@ -2982,5 +3038,5 @@ warn_level_tabs_found_in_verbatim_string_literals = 2 # unsigned number
|
||||
# `macro-close END_MESSAGE_MAP`
|
||||
#
|
||||
#
|
||||
# option(s) with 'not default' value: 148
|
||||
# option(s) with 'not default' value: 150
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user