Files
Terminal.Gui/.editorconfig
Daniel Cazzulino a7c8594721 Add indent_size which is honored by VS2019 and behaves like tab_width (#285)
`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.
2019-11-01 21:35:23 -04:00

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