Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Commit

Permalink
Introduce EditorConfig to help define consistent coding style
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jamill committed Dec 27, 2018
1 parent a79de59 commit 161780e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .editorconfig
@@ -0,0 +1,7 @@
# EditorConfig: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*.cs]
trim_trailing_whitespace = true
1 change: 1 addition & 0 deletions GVFS.sln
Expand Up @@ -4,6 +4,7 @@ VisualStudioVersion = 15.0.27428.2015
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{DCE11095-DA5F-4878-B58D-2702765560F5}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
.gitattributes = .gitattributes
.gitignore = .gitignore
AuthoringTests.md = AuthoringTests.md
Expand Down

0 comments on commit 161780e

Please sign in to comment.