From 71611af1e2f04d8ded906ad5447ab0f18b72fefc Mon Sep 17 00:00:00 2001 From: "Frank A. Krueger" Date: Thu, 9 Nov 2017 12:34:08 -0800 Subject: [PATCH] Update styling --- .editorconfig | 5 +++++ Ooui.Forms/VisualElementTracker.cs | 12 ++++++++++++ Ooui.sln | 2 ++ 3 files changed, 19 insertions(+) create mode 100644 Ooui.Forms/VisualElementTracker.cs diff --git a/.editorconfig b/.editorconfig index f7b7156..ed8522f 100644 --- a/.editorconfig +++ b/.editorconfig @@ -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 diff --git a/Ooui.Forms/VisualElementTracker.cs b/Ooui.Forms/VisualElementTracker.cs new file mode 100644 index 0000000..ae3ffa0 --- /dev/null +++ b/Ooui.Forms/VisualElementTracker.cs @@ -0,0 +1,12 @@ +namespace Ooui.Forms +{ + internal class VisualElementTracker + { + private VisualElementRenderer visualElementRenderer; + + public VisualElementTracker(VisualElementRenderer visualElementRenderer) + { + this.visualElementRenderer = visualElementRenderer; + } + } +} \ No newline at end of file diff --git a/Ooui.sln b/Ooui.sln index 0d488e6..ad4420b 100644 --- a/Ooui.sln +++ b/Ooui.sln @@ -88,5 +88,7 @@ Global $2.NewLinesForBracesInAnonymousTypes = False $2.NewLinesForBracesInObjectCollectionArrayInitializers = False $2.NewLinesForBracesInLambdaExpressionBody = False + $2.SpacingAfterMethodDeclarationName = True + $2.SpaceAfterMethodCallName = True EndGlobalSection EndGlobal