Update styling

This commit is contained in:
Frank A. Krueger 2017-11-09 12:34:08 -08:00
parent a828fb9b0b
commit 71611af1e2
3 changed files with 19 additions and 0 deletions

View File

@ -15,9 +15,14 @@ end_of_line = lf
[project.json]
indent_size = 2
[Makefile]
indent_style = tab
# C# files
[*.cs]
indent_style = space
[*.sln]
indent_style = tab
# New line preferences
csharp_new_line_before_open_brace = types:methods

View File

@ -0,0 +1,12 @@
namespace Ooui.Forms
{
internal class VisualElementTracker
{
private VisualElementRenderer<object> visualElementRenderer;
public VisualElementTracker(VisualElementRenderer<object> visualElementRenderer)
{
this.visualElementRenderer = visualElementRenderer;
}
}
}

View File

@ -88,5 +88,7 @@ Global
$2.NewLinesForBracesInAnonymousTypes = False
$2.NewLinesForBracesInObjectCollectionArrayInitializers = False
$2.NewLinesForBracesInLambdaExpressionBody = False
$2.SpacingAfterMethodDeclarationName = True
$2.SpaceAfterMethodCallName = True
EndGlobalSection
EndGlobal