diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..455c91877 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,18 @@ +[*.cs] +indent_style = tab +tab_widt = 8 +csharp_new_line_before_open_brace = false +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 diff --git a/Terminal.Gui/.editorconfig b/Terminal.Gui/.editorconfig new file mode 100644 index 000000000..0a56872ad --- /dev/null +++ b/Terminal.Gui/.editorconfig @@ -0,0 +1,2 @@ +[*.cs] +indent_style = tab diff --git a/Terminal.Gui/Dialogs/.editorconfig b/Terminal.Gui/Dialogs/.editorconfig new file mode 100644 index 000000000..e69de29bb