You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

.editorconfig 10 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. root = true
  2. [*]
  3. charset = utf-8
  4. end_of_line = lf
  5. insert_final_newline = true
  6. indent_style = space
  7. indent_size = 4
  8. trim_trailing_whitespace = true
  9. [*.{cmd,config,csproj,cxxproj,json,props,ps1,resx,sh,targets,yml}]
  10. indent_size = 2
  11. [*.sln]
  12. end_of_line = crlf
  13. indent_style = tab
  14. [*.cs]
  15. csharp_indent_block_contents = true
  16. csharp_indent_braces = false
  17. csharp_indent_case_contents = true
  18. csharp_indent_case_contents_when_block = false
  19. csharp_indent_labels = one_less_than_current
  20. csharp_indent_switch_labels = true
  21. csharp_new_line_before_catch = true
  22. csharp_new_line_before_else = true
  23. csharp_new_line_before_finally = true
  24. csharp_new_line_before_members_in_anonymous_types = true
  25. csharp_new_line_before_members_in_object_initializers = true
  26. csharp_new_line_before_open_brace = accessors, control_blocks, events, indexers, local_functions, methods, properties, types, object_collection_array_initializers
  27. csharp_new_line_within_query_expression_clauses = true
  28. csharp_prefer_braces = false:silent
  29. csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:suggestion
  30. csharp_prefer_simple_default_expression = true:suggestion
  31. csharp_preserve_single_line_blocks = true
  32. csharp_preserve_single_line_statements = false
  33. csharp_space_after_cast = false
  34. csharp_space_after_colon_in_inheritance_clause = true
  35. csharp_space_after_comma = true
  36. csharp_space_after_dot = false
  37. csharp_space_after_keywords_in_control_flow_statements = true
  38. csharp_space_after_semicolon_in_for_statement = true
  39. csharp_space_around_binary_operators = before_and_after
  40. csharp_space_around_declaration_statements = do_not_ignore
  41. csharp_space_before_colon_in_inheritance_clause = true
  42. csharp_space_before_comma = false
  43. csharp_space_before_dot = false
  44. csharp_space_before_open_square_brackets = false
  45. csharp_space_before_semicolon_in_for_statement = false
  46. csharp_space_between_empty_square_brackets = false
  47. csharp_space_between_method_call_empty_parameter_list_parentheses = false
  48. csharp_space_between_method_call_name_and_opening_parenthesis = false
  49. csharp_space_between_method_call_parameter_list_parentheses = false
  50. csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
  51. csharp_space_between_method_declaration_name_and_open_parenthesis = false
  52. csharp_space_between_method_declaration_parameter_list_parentheses = false
  53. csharp_space_between_parentheses = false
  54. csharp_space_between_square_brackets = false
  55. csharp_style_conditional_delegate_call = true:suggestion
  56. csharp_style_deconstructed_variable_declaration = true:suggestion
  57. csharp_style_expression_bodied_accessors = false:suggestion
  58. csharp_style_expression_bodied_constructors = false:suggestion
  59. csharp_style_expression_bodied_indexers = false:suggestion
  60. csharp_style_expression_bodied_lambdas = true:suggestion
  61. csharp_style_expression_bodied_methods = false:suggestion
  62. csharp_style_expression_bodied_operators = false:suggestion
  63. csharp_style_expression_bodied_properties = false:suggestion
  64. csharp_style_inlined_variable_declaration = true:suggestion
  65. csharp_style_pattern_local_over_anonymous_function = true:suggestion
  66. csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
  67. csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
  68. csharp_style_throw_expression = true:suggestion
  69. csharp_style_unused_value_assignment_preference = discard_variable:suggestion
  70. csharp_style_unused_value_expression_statement_preference = discard_variable:suggestion
  71. csharp_style_var_elsewhere = true:suggestion
  72. csharp_style_var_for_built_in_types = true:suggestion
  73. csharp_style_var_when_type_is_apparent = true:suggestion
  74. dotnet_code_quality_unused_parameters = all:suggestion
  75. dotnet_naming_rule.async_members_should_be_pascal_case_suffixed_with_async.severity = suggestion
  76. dotnet_naming_rule.async_members_should_be_pascal_case_suffixed_with_async.style = pascal_case_suffixed_with_async
  77. dotnet_naming_rule.async_members_should_be_pascal_case_suffixed_with_async.symbols = async_members
  78. dotnet_naming_rule.const_declarations_should_be_pascal_case.severity = suggestion
  79. dotnet_naming_rule.const_declarations_should_be_pascal_case.style = pascal_case
  80. dotnet_naming_rule.const_declarations_should_be_pascal_case.symbols = const_declarations
  81. dotnet_naming_rule.interfaces_should_be_pascal_case_prefixed_with_i.severity = suggestion
  82. dotnet_naming_rule.interfaces_should_be_pascal_case_prefixed_with_i.style = pascal_case_prefixed_with_i
  83. dotnet_naming_rule.interfaces_should_be_pascal_case_prefixed_with_i.symbols = interfaces
  84. dotnet_naming_rule.parameters_should_be_camel_case.severity = suggestion
  85. dotnet_naming_rule.parameters_should_be_camel_case.style = camel_case
  86. dotnet_naming_rule.parameters_should_be_camel_case.symbols = parameters
  87. dotnet_naming_rule.private_and_internal_fields_should_be_camel_case_prefixed_with_underscore.severity = suggestion
  88. dotnet_naming_rule.private_and_internal_fields_should_be_camel_case_prefixed_with_underscore.style = camel_case_prefixed_with_underscore
  89. dotnet_naming_rule.private_and_internal_fields_should_be_camel_case_prefixed_with_underscore.symbols = private_and_internal_fields
  90. dotnet_naming_rule.private_and_internal_static_fields_should_be_camel_case_prefixed_with_s_and_underscore.severity = suggestion
  91. dotnet_naming_rule.private_and_internal_static_fields_should_be_camel_case_prefixed_with_s_and_underscore.style = camel_case_prefixed_with_s_and_underscore
  92. dotnet_naming_rule.private_and_internal_static_fields_should_be_camel_case_prefixed_with_s_and_underscore.symbols = private_and_internal_static_fields
  93. dotnet_naming_rule.public_and_protected_declarations_should_be_pascal_case.severity = suggestion
  94. dotnet_naming_rule.public_and_protected_declarations_should_be_pascal_case.style = pascal_case
  95. dotnet_naming_rule.public_and_protected_declarations_should_be_pascal_case.symbols = public_and_protected_declarations
  96. dotnet_naming_rule.static_readonly_declarations_should_be_pascal_case.severity = suggestion
  97. dotnet_naming_rule.static_readonly_declarations_should_be_pascal_case.style = pascal_case
  98. dotnet_naming_rule.static_readonly_declarations_should_be_pascal_case.symbols = static_readonly_declarations
  99. dotnet_naming_rule.type_parameters_should_be_pascal_case_prefixed_with_t.severity = suggestion
  100. dotnet_naming_rule.type_parameters_should_be_pascal_case_prefixed_with_t.style = pascal_case_prefixed_with_t
  101. dotnet_naming_rule.type_parameters_should_be_pascal_case_prefixed_with_t.symbols = type_parameters
  102. dotnet_naming_style.camel_case.capitalization = camel_case
  103. dotnet_naming_style.camel_case_prefixed_with_s_and_underscore.capitalization = camel_case
  104. dotnet_naming_style.camel_case_prefixed_with_s_and_underscore.required_prefix = s_
  105. dotnet_naming_style.camel_case_prefixed_with_underscore.capitalization = camel_case
  106. dotnet_naming_style.camel_case_prefixed_with_underscore.required_prefix = _
  107. dotnet_naming_style.pascal_case.capitalization = pascal_case
  108. dotnet_naming_style.pascal_case_prefixed_with_i.capitalization = pascal_case
  109. dotnet_naming_style.pascal_case_prefixed_with_i.required_prefix = I
  110. dotnet_naming_style.pascal_case_prefixed_with_t.capitalization = pascal_case
  111. dotnet_naming_style.pascal_case_prefixed_with_t.required_prefix = T
  112. dotnet_naming_style.pascal_case_suffixed_with_async.capitalization = pascal_case
  113. dotnet_naming_style.pascal_case_suffixed_with_async.required_suffix = Async
  114. dotnet_naming_symbols.async_members.required_modifiers = async
  115. dotnet_naming_symbols.const_declarations.required_modifiers = const
  116. dotnet_naming_symbols.interfaces.applicable_kinds = interface
  117. dotnet_naming_symbols.parameters.applicable_kinds = parameter
  118. dotnet_naming_symbols.private_and_internal_fields.applicable_accessibilities = private, internal
  119. dotnet_naming_symbols.private_and_internal_fields.applicable_kinds = field
  120. dotnet_naming_symbols.private_and_internal_static_fields.applicable_accessibilities = private, internal
  121. dotnet_naming_symbols.private_and_internal_static_fields.applicable_kinds = field
  122. dotnet_naming_symbols.private_and_internal_static_fields.required_modifiers = static
  123. dotnet_naming_symbols.public_and_protected_declarations.applicable_accessibilities = public, protected
  124. dotnet_naming_symbols.static_readonly_declarations.required_modifiers = static, readonly
  125. dotnet_naming_symbols.type_parameters.applicable_kinds = type_parameter
  126. dotnet_separate_import_directive_groups = false
  127. dotnet_sort_system_directives_first = true
  128. dotnet_style_coalesce_expression = true:suggestion
  129. dotnet_style_collection_initializer = true:suggestion
  130. dotnet_style_explicit_tuple_names = true:suggestion
  131. dotnet_style_null_propagation = true:suggestion
  132. dotnet_style_object_initializer = true:suggestion
  133. dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:suggestion
  134. dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:suggestion
  135. dotnet_style_parentheses_in_other_operators = never_if_unnecessary:suggestion
  136. dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:suggestion
  137. dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
  138. dotnet_style_predefined_type_for_member_access = true:suggestion
  139. dotnet_style_prefer_auto_properties = false:suggestion
  140. dotnet_style_prefer_compound_assignment = true:suggestion
  141. dotnet_style_prefer_conditional_expression_over_assignment = true:suggestion
  142. dotnet_style_prefer_conditional_expression_over_return = false:suggestion
  143. dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
  144. dotnet_style_prefer_inferred_tuple_names = true:suggestion
  145. dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
  146. dotnet_style_qualification_for_event = false:suggestion
  147. dotnet_style_qualification_for_field = false:suggestion
  148. dotnet_style_qualification_for_method = false:suggestion
  149. dotnet_style_qualification_for_property = false:suggestion
  150. dotnet_style_readonly_field = true:suggestion
  151. dotnet_style_require_accessibility_modifiers = always:suggestion

No Description