"uncrustify" C++ beautifier config file, use with sourceforge's uncrustify from its subversion
This commit is contained in:
parent
75ce635ac6
commit
88dec9cdda
|
@ -0,0 +1,180 @@
|
|||
align_func_params=true
|
||||
align_keep_tabs=false
|
||||
align_nl_cont=false
|
||||
align_number_left=false
|
||||
align_on_tabstop=true
|
||||
align_var_def_colon=false
|
||||
align_var_def_inline=true
|
||||
align_with_tabs=false
|
||||
cmt_cpp_group=false
|
||||
cmt_cpp_nl_end=false
|
||||
cmt_cpp_nl_start=false
|
||||
cmt_cpp_to_c=false
|
||||
cmt_star_cont=true
|
||||
eat_blanks_after_open_brace=true
|
||||
eat_blanks_before_close_brace=true
|
||||
indent_align_string=true
|
||||
indent_brace_parent=false
|
||||
indent_braces=false
|
||||
indent_braces_no_func=false
|
||||
indent_class=true
|
||||
indent_class_colon=false
|
||||
indent_col1_comment=false
|
||||
indent_func_call_param=true
|
||||
indent_namespace=false
|
||||
indent_paren_nl=false
|
||||
indent_square_nl=false
|
||||
ls_for_split_full=true
|
||||
ls_func_split_full=true
|
||||
mod_full_paren_if_bool=false
|
||||
mod_pawn_semicolon=false
|
||||
nl_after_brace_open=true
|
||||
nl_after_vbrace_open=true
|
||||
nl_after_case=true
|
||||
nl_after_return=false
|
||||
nl_after_semicolon=false
|
||||
nl_assign_leave_one_liners=true
|
||||
nl_before_case=true
|
||||
nl_class_leave_one_liners=true
|
||||
nl_collapse_empty_body=false
|
||||
nl_define_macro=false
|
||||
nl_ds_struct_enum_cmt=true
|
||||
nl_squeeze_ifdef=false
|
||||
sp_balance_nested_parens=true
|
||||
align_assign_span=1
|
||||
align_assign_thresh=4
|
||||
align_enum_equ_span=3
|
||||
align_enum_equ_thresh=2
|
||||
align_func_proto_span=5
|
||||
align_pp_define_gap=1
|
||||
align_pp_define_span=1
|
||||
align_right_cmt_span=3
|
||||
align_struct_init_span=1
|
||||
align_typedef_gap=1
|
||||
align_typedef_span=2
|
||||
align_typedef_star_style=2
|
||||
align_var_def_span=3
|
||||
align_var_def_star_style=0
|
||||
align_var_def_thresh=12
|
||||
align_var_struct_span=1
|
||||
cmt_sp_after_star_cont=1
|
||||
code_width=99
|
||||
indent_access_spec=1
|
||||
indent_brace=0
|
||||
indent_columns=4
|
||||
indent_switch_case=0
|
||||
indent_with_tabs=0
|
||||
input_tab_size=4
|
||||
mod_full_brace_nl=3
|
||||
nl_after_func_body=3
|
||||
nl_after_func_body_one_liner=1
|
||||
nl_after_func_proto_group=2
|
||||
nl_before_block_comment=2
|
||||
nl_before_cpp_comment=2
|
||||
nl_end_of_file_min=1
|
||||
nl_func_var_def_blk=1
|
||||
nl_max=3
|
||||
output_tab_size=4
|
||||
mod_full_brace_do=add
|
||||
mod_full_brace_for=ignore
|
||||
mod_full_brace_function=ignore
|
||||
mod_full_brace_if=ignore
|
||||
mod_full_brace_while=ignore
|
||||
mod_paren_on_return=remove
|
||||
nl_after_do=force
|
||||
nl_after_for=force
|
||||
nl_after_if=ignore
|
||||
nl_after_switch=add
|
||||
nl_after_while=add
|
||||
nl_assign_brace=ignore
|
||||
nl_before_do=force
|
||||
nl_before_for=ignore
|
||||
nl_before_if=ignore
|
||||
nl_before_switch=add
|
||||
nl_before_while=ignore
|
||||
nl_brace_catch=force
|
||||
nl_brace_else=force
|
||||
nl_brace_finally=ignore
|
||||
nl_brace_while=remove
|
||||
nl_catch_brace=add
|
||||
nl_class_brace=force
|
||||
nl_class_init_args=add
|
||||
nl_do_brace=ignore
|
||||
nl_else_brace=force
|
||||
nl_elseif_brace=force
|
||||
nl_end_of_file=force
|
||||
nl_enum_brace=remove
|
||||
nl_fcall_brace=remove
|
||||
nl_fdef_brace=force
|
||||
nl_finally_brace=ignore
|
||||
nl_for_brace=force
|
||||
nl_func_type_name=remove
|
||||
nl_if_brace=force
|
||||
nl_struct_brace=add
|
||||
nl_switch_brace=force
|
||||
nl_template_class=force
|
||||
nl_try_brace=force
|
||||
nl_union_brace=add
|
||||
nl_while_brace=force
|
||||
pos_bool=lead
|
||||
pos_class_colon=trail
|
||||
pos_comma=trail
|
||||
pp_indent=ignore
|
||||
pp_space=ignore
|
||||
sp_after_angle=ignore
|
||||
sp_after_byref=force
|
||||
sp_after_cast=force
|
||||
sp_after_comma=force
|
||||
sp_after_operator=ignore
|
||||
sp_after_ptr_star=force
|
||||
sp_after_sparen=ignore
|
||||
sp_after_tag=ignore
|
||||
sp_angle_paren=ignore
|
||||
sp_angle_word=ignore
|
||||
sp_arith=force
|
||||
sp_assign=force
|
||||
sp_before_angle=ignore
|
||||
sp_before_byref=remove
|
||||
sp_before_comma=remove
|
||||
sp_before_ptr_star=remove
|
||||
sp_before_semi=remove
|
||||
sp_before_semi_for=remove
|
||||
sp_before_semi_for_empty=add
|
||||
sp_before_sparen=remove
|
||||
sp_before_square=remove
|
||||
sp_before_squares=ignore
|
||||
sp_between_ptr_star=remove
|
||||
sp_bool=ignore
|
||||
sp_brace_catch=add
|
||||
sp_brace_else=ignore
|
||||
sp_brace_finally=add
|
||||
sp_catch_brace=add
|
||||
sp_compare=ignore
|
||||
sp_else_brace=add
|
||||
sp_finally_brace=add
|
||||
sp_fparen_brace=add
|
||||
sp_func_call_paren=remove
|
||||
sp_func_class_paren=remove
|
||||
sp_func_def_paren=remove
|
||||
sp_func_proto_paren=remove
|
||||
sp_getset_brace=add
|
||||
sp_inside_braces=add
|
||||
sp_inside_braces_enum=add
|
||||
sp_inside_braces_struct=add
|
||||
sp_inside_fparen=add
|
||||
sp_inside_fparens=remove
|
||||
sp_inside_paren=ignore
|
||||
sp_inside_paren_cast=remove
|
||||
sp_inside_sparen=add
|
||||
sp_inside_square=ignore
|
||||
sp_macro=ignore
|
||||
sp_macro_func=add
|
||||
sp_paren_brace=add
|
||||
sp_paren_paren=ignore
|
||||
sp_return_paren=add
|
||||
sp_sizeof_paren=remove
|
||||
sp_sparen_brace=add
|
||||
sp_special_semi=add
|
||||
sp_square_fparen=ignore
|
||||
sp_try_brace=add
|
||||
sp_type_func=add
|
Loading…
Reference in New Issue