mirror of
https://github.com/nsnail/ns-ext.git
synced 2025-04-20 07:42:52 +08:00
90 lines
4.2 KiB
INI
90 lines
4.2 KiB
INI
[*.{appxmanifest,asax,ascx,aspx,axaml,axml,build,config,cs,cshtml,csproj,css,dbml,discomap,dtd,htm,html,js,json,jsproj,jsx,lsproj,master,njsproj,nuspec,paml,proj,props,proto,razor,resjson,resw,resx,skin,StyleCop,targets,tasks,ts,tsx,vb,vbproj,xaml,xamlx,xml,xoml,xsd}]
|
|
indent_style = space
|
|
indent_size = space
|
|
tab_width = 4
|
|
|
|
[*]
|
|
|
|
# Microsoft .NET properties
|
|
csharp_indent_braces = false
|
|
csharp_new_line_before_members_in_object_initializers = true
|
|
csharp_new_line_before_open_brace = local_functions, methods, types
|
|
csharp_preferred_modifier_order = public, private, protected, internal, new, abstract, virtual, sealed, override, static, readonly, extern, unsafe, volatile, async:suggestion
|
|
csharp_style_var_elsewhere = true:suggestion
|
|
csharp_style_var_for_built_in_types = true:suggestion
|
|
csharp_style_var_when_type_is_apparent = true:suggestion
|
|
dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:none
|
|
dotnet_style_parentheses_in_other_binary_operators = never_if_unnecessary:none
|
|
dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:none
|
|
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
|
|
dotnet_style_predefined_type_for_member_access = true:suggestion
|
|
dotnet_style_qualification_for_event = false:suggestion
|
|
dotnet_style_qualification_for_field = false:suggestion
|
|
dotnet_style_qualification_for_method = false:suggestion
|
|
dotnet_style_qualification_for_property = false:suggestion
|
|
dotnet_style_require_accessibility_modifiers = for_non_interface_members:suggestion
|
|
|
|
# ReSharper inspection severities
|
|
resharper_arrange_redundant_parentheses_highlighting = hint
|
|
resharper_arrange_this_qualifier_highlighting = hint
|
|
resharper_arrange_type_member_modifiers_highlighting = hint
|
|
resharper_arrange_type_modifiers_highlighting = hint
|
|
resharper_built_in_type_reference_style_for_member_access_highlighting = hint
|
|
resharper_built_in_type_reference_style_highlighting = hint
|
|
resharper_redundant_base_qualifier_highlighting = warning
|
|
resharper_suggest_var_or_type_built_in_types_highlighting = hint
|
|
resharper_suggest_var_or_type_elsewhere_highlighting = hint
|
|
resharper_suggest_var_or_type_simple_types_highlighting = hint
|
|
|
|
# ReSharper properties
|
|
resharper_align_first_arg_by_paren = true
|
|
resharper_align_linq_query = true
|
|
resharper_align_multiline_argument = true
|
|
resharper_align_multiline_array_and_object_initializer = false
|
|
resharper_align_multiline_calls_chain = true
|
|
resharper_align_multiline_expression = true
|
|
resharper_align_multiline_extends_list = true
|
|
resharper_align_multiline_for_stmt = true
|
|
resharper_align_multiline_property_pattern = true
|
|
resharper_align_multiline_switch_expression = true
|
|
resharper_align_multline_type_parameter_constrains = true
|
|
resharper_align_multline_type_parameter_list = true
|
|
resharper_align_tuple_components = true
|
|
resharper_csharp_align_multiline_parameter = true
|
|
resharper_csharp_align_multiple_declaration = true
|
|
resharper_csharp_empty_block_style = together
|
|
resharper_csharp_indent_size = 4
|
|
resharper_csharp_indent_style = space
|
|
resharper_csharp_insert_final_newline = true
|
|
resharper_csharp_max_line_length = 120
|
|
resharper_csharp_stick_comment = false
|
|
resharper_csharp_tab_width = 4
|
|
resharper_csharp_wrap_arguments_style = chop_if_long
|
|
resharper_csharp_wrap_before_comma = false
|
|
resharper_csharp_wrap_chained_method_calls = chop_if_long
|
|
resharper_csharp_wrap_extends_list_style = chop_if_long
|
|
resharper_csharp_wrap_parameters_style = chop_if_long
|
|
resharper_indent_anonymous_method_block = true
|
|
resharper_indent_nested_fixed_stmt = true
|
|
resharper_indent_nested_foreach_stmt = true
|
|
resharper_indent_nested_for_stmt = true
|
|
resharper_indent_nested_lock_stmt = true
|
|
resharper_indent_nested_usings_stmt = true
|
|
resharper_indent_nested_while_stmt = true
|
|
resharper_indent_preprocessor_if = usual_indent
|
|
resharper_indent_preprocessor_other = usual_indent
|
|
resharper_int_align = true
|
|
resharper_keep_existing_arrangement = false
|
|
resharper_keep_existing_linebreaks = false
|
|
resharper_max_initializer_elements_on_line = 1
|
|
resharper_outdent_commas = true
|
|
resharper_outdent_dots = true
|
|
resharper_wrap_array_initializer_style = chop_always
|
|
resharper_wrap_before_comma = false
|
|
resharper_wrap_object_and_collection_initializer_style = chop_always
|
|
|
|
[*.cs]
|
|
indent_style = space
|
|
indent_size = 4
|
|
tab_width = 4
|