Skip to content

Commit

Permalink
Add a tip about the use of EditorConfig for indentation settings
Browse files Browse the repository at this point in the history
  • Loading branch information
sharwell committed Jan 13, 2016
1 parent ac82239 commit 156835d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions documentation/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ The following properties are used to configure basic indentation in StyleCop Ana
| `tabSize` | **4** | The width of a hard tab character in source code. This value is used when converting between tabs and spaces. |
| `useTabs` | **false** | **true** to indent using hard tabs; otherwise, **false** to indent using spaces |

> :bulb: When working in Visual Studio, the IDE will not automatically adjust editor settings according to the values in
> **stylecop.json**. To provide this functionality as well, we recommend duplicating the basic indentation settings in a
> [**.editorconfig**](http://editorconfig.org/) file. Users of the [EditorConfig](https://visualstudiogallery.msdn.microsoft.com/c8bccfe2-650c-4b42-bc5c-845e21f96328)
> extension for Visual Studio will no need to update their C# indentation settings in order to match your project style.
## Spacing Rules

This section describes the features of spacing rules which can be configured in **stylecop.json**. Each of the described properties are configured in the `spacingRules` object, which is shown in the following sample file.
Expand Down

0 comments on commit 156835d

Please sign in to comment.