This commit is contained in:
Andrei Astafev 2020-05-11 20:14:02 +03:00
parent 959608f6b5
commit 7324d80f3d

View File

@ -37,6 +37,9 @@ string_replace_tab_chars = false # true/false
# Improvements to template detection may make this option obsolete. # Improvements to template detection may make this option obsolete.
tok_split_gte = false # true/false tok_split_gte = false # true/false
# Disable formatting of NL_CONT ('\\n') ended lines (e.g. multiline macros)
disable_processing_nl_cont = false # true/false
# Specify the marker used in comments to disable processing of part of the # Specify the marker used in comments to disable processing of part of the
# file. # file.
# The comment should be used alone in one line. # The comment should be used alone in one line.
@ -1466,6 +1469,9 @@ nl_else_brace = add # ignore/add/remove/force
# Add or remove newline between 'else' and 'if'. # Add or remove newline between 'else' and 'if'.
nl_else_if = add # ignore/add/remove/force nl_else_if = add # ignore/add/remove/force
# Add or remove newline before '{' opening brace
nl_before_opening_brace_func_class_def = ignore # ignore/add/remove/force
# Add or remove newline before 'if'/'else if' closing parenthesis. # Add or remove newline before 'if'/'else if' closing parenthesis.
nl_before_if_closing_paren = remove # ignore/add/remove/force nl_before_if_closing_paren = remove # ignore/add/remove/force
@ -1758,6 +1764,9 @@ nl_func_call_empty = ignore # ignore/add/remove/force
# has preference over nl_func_call_start_multi_line. # has preference over nl_func_call_start_multi_line.
nl_func_call_start = ignore # ignore/add/remove/force nl_func_call_start = ignore # ignore/add/remove/force
# Whether to add a newline before ')' in a function call.
nl_func_call_end = ignore # ignore/add/remove/force
# Whether to add a newline after '(' in a function call if '(' and ')' are in # Whether to add a newline after '(' in a function call if '(' and ')' are in
# different lines. # different lines.
nl_func_call_start_multi_line = false # true/false nl_func_call_start_multi_line = false # true/false
@ -2170,6 +2179,26 @@ nl_after_annotation = ignore # ignore/add/remove/force
# (Java) Add or remove newline between two annotations. # (Java) Add or remove newline between two annotations.
nl_between_annotation = ignore # ignore/add/remove/force nl_between_annotation = ignore # ignore/add/remove/force
# The number of newlines before a whole-file #ifdef.
#
# 0: No change (default).
nl_before_whole_file_ifdef = 0 # unsigned number
# The number of newlines after a whole-file #ifdef.
#
# 0: No change (default).
nl_after_whole_file_ifdef = 0 # unsigned number
# The number of newlines before a whole-file #endif.
#
# 0: No change (default).
nl_before_whole_file_endif = 0 # unsigned number
# The number of newlines after a whole-file #endif.
#
# 0: No change (default).
nl_after_whole_file_endif = 0 # unsigned number
# #
# Positioning options # Positioning options
# #
@ -2621,14 +2650,12 @@ cmt_multi_first_len_minimum = 4 # unsigned number
# Path to a file that contains text to insert at the beginning of a file if # Path to a file that contains text to insert at the beginning of a file if
# the file doesn't start with a C/C++ comment. If the inserted text contains # the file doesn't start with a C/C++ comment. If the inserted text contains
# '$(filename)', that will be replaced with the current file's name. # '$(filename)', that will be replaced with the current file's name.
# cmt_insert_file_header = "fileheader.txt" # string cmt_insert_file_header = "" # string
cmt_insert_file_header = "" # string
# Path to a file that contains text to insert at the end of a file if the # Path to a file that contains text to insert at the end of a file if the
# file doesn't end with a C/C++ comment. If the inserted text contains # file doesn't end with a C/C++ comment. If the inserted text contains
# '$(filename)', that will be replaced with the current file's name. # '$(filename)', that will be replaced with the current file's name.
# cmt_insert_file_footer = "filefooter.txt" # string cmt_insert_file_footer = "" # string
cmt_insert_file_footer = "" # string
# Path to a file that contains text to insert before a function definition if # Path to a file that contains text to insert before a function definition if
# the function isn't preceded by a C/C++ comment. If the inserted text # the function isn't preceded by a C/C++ comment. If the inserted text
@ -2636,14 +2663,12 @@ cmt_insert_file_footer = "" # string
# replaced with, respectively, the name of the function, the javadoc '@param' # replaced with, respectively, the name of the function, the javadoc '@param'
# and '@return' stuff, or the name of the class to which the member function # and '@return' stuff, or the name of the class to which the member function
# belongs. # belongs.
# cmt_insert_func_header = "funcheader.txt" # string cmt_insert_func_header = "" # string
cmt_insert_func_header = "" # string
# Path to a file that contains text to insert before a class if the class # Path to a file that contains text to insert before a class if the class
# isn't preceded by a C/C++ comment. If the inserted text contains '$(class)', # isn't preceded by a C/C++ comment. If the inserted text contains '$(class)',
# that will be replaced with the class name. # that will be replaced with the class name.
# cmt_insert_class_header = "classheader.txt" # string cmt_insert_class_header = "" # string
cmt_insert_class_header = "" # string
# Path to a file that contains text to insert before an Objective-C message # Path to a file that contains text to insert before an Objective-C message
# specification, if the method isn't preceded by a C/C++ comment. If the # specification, if the method isn't preceded by a C/C++ comment. If the
@ -2779,6 +2804,25 @@ mod_sort_using = false # true/false
# break your code if your includes/imports have ordering dependencies. # break your code if your includes/imports have ordering dependencies.
mod_sort_include = false # true/false mod_sort_include = false # true/false
# Whether to prioritize '#include' and '#import' statements that contain
# filename without extension when sorting is enabled.
mod_sort_incl_import_prioritize_filename = false # true/false
# Whether to prioritize '#include' and '#import' statements that does not
# contain extensions when sorting is enabled.
mod_sort_incl_import_prioritize_extensionless = false # true/false
# Whether to prioritize '#include' and '#import' statements that contain
# angle over quotes when sorting is enabled.
mod_sort_incl_import_prioritize_angle_over_quotes = false # true/false
# Whether to ignore file extension in '#include' and '#import' statements
# for sorting comparison.
mod_sort_incl_import_ignore_extension = false # true/false
# Whether to group '#include' and '#import' statements when sorting is enabled.
mod_sort_incl_import_grouping_enabled = false # true/false
# Whether to move a 'break' that appears after a fully braced 'case' before # Whether to move a 'break' that appears after a fully braced 'case' before
# the close brace, as in 'case X: { ... } break;' => 'case X: { ... break; }'. # the close brace, as in 'case X: { ... } break;' => 'case X: { ... break; }'.
mod_move_case_break = false # true/false mod_move_case_break = false # true/false
@ -3042,5 +3086,5 @@ debug_line_number_to_protocol = 0 # number
# `macro-close END_MESSAGE_MAP` # `macro-close END_MESSAGE_MAP`
# #
# #
# option(s) with 'not default' value: 150 # option(s) with 'not default' value: 160
# #