| 1 |
; EditorConfig to support per-solution formatting. |
| 2 |
; Use the EditorConfig VS add-in to make this work. |
| 3 |
; http://editorconfig.org/ |
| 4 |
|
| 5 |
; This is the default for the codeline. |
| 6 |
root = true |
| 7 |
|
| 8 |
[*] |
| 9 |
indent_style = space |
| 10 |
charset = utf-8 |
| 11 |
trim_trailing_whitespace = true |
| 12 |
|
| 13 |
; Code files |
| 14 |
[*.{cs}] |
| 15 |
indent_size = 4 |
| 16 |
; Default to file-scoped namespaces for new C# files, but don't warn about exsting block scope. (Change to warning after all code is updated.) |
| 17 |
csharp_style_namespace_declarations = file_scoped:none |
| 18 |
|
| 19 |
; All XML-based file formats |
| 20 |
[*.{config,csproj,nuspec,props,resx,ruleset,targets,vsct,vsixmanifest,xaml,xml,vsmanproj,swixproj,proj}] |
| 21 |
indent_size = 2 |