Skip to content

Commit 161780e

Browse files
committed
Introduce EditorConfig to help define consistent coding style
EditorConfig is meant to help define and maintain consistent coding style across different editors and IDEs. A description for EditorConfig can be found at: https://editorconfig.org Visual Studio comes with native support for EditorConfig. https://docs.microsoft.com/en-us/visualstudio/ide/create-portable-custom-editor-options?view=vs-2017 VS Code doesn't currently support editorconfig out of the box, but it can be enabled with a plugin. EditorConfig.org lists the following plugin: https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig
1 parent a79de59 commit 161780e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.editorconfig

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# EditorConfig: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
[*.cs]
7+
trim_trailing_whitespace = true

GVFS.sln

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ VisualStudioVersion = 15.0.27428.2015
44
MinimumVisualStudioVersion = 10.0.40219.1
55
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{DCE11095-DA5F-4878-B58D-2702765560F5}"
66
ProjectSection(SolutionItems) = preProject
7+
.editorconfig = .editorconfig
78
.gitattributes = .gitattributes
89
.gitignore = .gitignore
910
AuthoringTests.md = AuthoringTests.md

0 commit comments

Comments
 (0)