Skip to content

Commit

Permalink
Add a .editorconfig file
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpeppers committed Mar 20, 2019
1 parent 8363cad commit db3f9c8
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .editorconfig
@@ -0,0 +1,29 @@

# To learn more about .editorconfig see https://aka.ms/editorconfigdocs

[*]
indent_style = tab
[*.{xml,axml,xaml,targets,proj,csproj,props}]
indent_style = space

[*.{xml,axml,xaml}]
indent_size = 4
[*.{targets,proj,csproj,props}]
indent_size = 2

# .NET formatting settings:
[*.{cs}]
csharp_new_line_before_open_brace = methods
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 = true
csharp_space_after_cast = true
csharp_space_after_keywords_in_control_flow_statements = true
csharp_space_between_method_declaration_parameter_list_parentheses = true
csharp_space_between_method_call_parameter_list_parentheses = true
csharp_space_around_binary_operators = before_and_after
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
csharp_space_between_method_call_name_and_opening_parenthesis = true
csharp_space_between_method_call_empty_parameter_list_parentheses = false
5 changes: 5 additions & 0 deletions glidex.sln
Expand Up @@ -11,6 +11,11 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "glidex.forms", "glidex.form
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "glidex.forms.sample", "glidex.forms.sample\glidex.forms.sample.csproj", "{DB4A1807-62A6-4AAE-8298-AD21728CBAAF}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{F51EAFAC-082D-4891-B9B5-2CA76E1AE844}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down

0 comments on commit db3f9c8

Please sign in to comment.