mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
`indent_size` came before `tab_width` and the latter is basically a fallback for the former, as far as I can understand https://github.com/microsoft/vscode-editorconfig/blob/master/src/editorConfigMain.ts#L248. However, VS behaves weirdly when one is defined and not the other. It gets the tabs completely wrong. If both have the same value, however, it works as expected. So make it easy for contributors on VS to contribute by adding this value. Hopefully, this will be a no-op on VSM.
20 lines
709 B
INI
20 lines
709 B
INI
[*.cs]
|
|
indent_style = tab
|
|
indent_size = 8
|
|
tab_width = 8
|
|
csharp_new_line_before_open_brace = methods,local_functions
|
|
csharp_new_line_before_else = false
|
|
csharp_new_line_before_catch = false
|
|
csharp_new_line_before_finally = false
|
|
|
|
csharp_indent_case_contents = true
|
|
csharp_indent_switch_labels = false
|
|
csharp_indent_labels = flush_left
|
|
csharp_space_after_keywords_in_control_flow_statements = true
|
|
csharp_space_between_method_declaration_parameter_list_parentheses = false
|
|
csharp_space_between_method_call_parameter_list_parentheses = false
|
|
csharp_preserve_single_line_blocks = true
|
|
dotnet_style_require_accessibility_modifiers = never
|
|
csharp_style_var_when_type_is_apparent = true
|
|
csharp_prefer_braces = false
|