Skip to content
Snippets Groups Projects
.editorconfig 3.69 KiB
Newer Older
  • Learn to ignore specific revisions
  • [*.cs]
    indent_style = tab
    indent_size = tab
    tab_width = 4
    trim_trailing_whitespace = true
    insert_final_newline = true
    
    # Microsoft .NET properties
    csharp_new_line_before_catch = false
    csharp_new_line_before_else = false
    csharp_new_line_before_finally = false
    csharp_new_line_before_open_brace = none
    csharp_preferred_modifier_order = public, private, protected, internal, new, static, abstract, virtual, sealed, readonly, override, extern, unsafe, volatile, async:suggestion
    csharp_space_after_cast = true
    
    csharp_style_var_elsewhere = false
    csharp_style_var_for_built_in_types = false
    
    dotnet_naming_rule.unity_serialized_field_rule.import_to_resharper = True
    dotnet_naming_rule.unity_serialized_field_rule.resharper_description = Unity serialized field
    dotnet_naming_rule.unity_serialized_field_rule.resharper_guid = 5f0fdb63-c892-4d2c-9324-15c80b22a7ef
    dotnet_naming_rule.unity_serialized_field_rule.severity = warning
    dotnet_naming_rule.unity_serialized_field_rule.style = lower_camel_case_style
    dotnet_naming_rule.unity_serialized_field_rule.symbols = unity_serialized_field_symbols
    dotnet_naming_style.lower_camel_case_style.capitalization = camel_case
    dotnet_naming_symbols.unity_serialized_field_symbols.applicable_accessibilities = *
    dotnet_naming_symbols.unity_serialized_field_symbols.applicable_kinds = 
    dotnet_naming_symbols.unity_serialized_field_symbols.resharper_applicable_kinds = unity_serialised_field
    dotnet_naming_symbols.unity_serialized_field_symbols.resharper_required_modifiers = instance
    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 properties
    resharper_align_multiline_binary_expressions_chain = false
    resharper_align_multiline_statement_conditions = false
    resharper_autodetect_indent_settings = true
    resharper_csharp_alignment_tab_fill_style = use_tabs_only
    resharper_csharp_empty_block_style = together_same_line
    resharper_csharp_indent_style = tab
    resharper_csharp_insert_final_newline = true
    resharper_csharp_int_align_fix_in_adjacent = false
    resharper_csharp_keep_blank_lines_in_code = 1
    resharper_csharp_keep_blank_lines_in_declarations = 1
    resharper_csharp_wrap_before_binary_opsign = true
    
    resharper_for_built_in_types = use_explicit_type
    
    resharper_indent_inside_namespace = false
    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_keep_existing_embedded_arrangement = false
    resharper_keep_existing_initializer_arrangement = false
    resharper_keep_existing_invocation_parens_arrangement = false
    resharper_keep_existing_property_patterns_arrangement = false
    resharper_keep_existing_switch_expression_arrangement = false
    resharper_outdent_statement_labels = true
    resharper_place_accessorholder_attribute_on_same_line = false
    resharper_place_accessor_attribute_on_same_line = true
    resharper_place_field_attribute_on_same_line = false
    resharper_show_autodetect_configure_formatting_tip = false
    resharper_space_within_empty_braces = false
    resharper_use_indent_from_vs = false