From 27654ebef02b4b34337844a0e8619f0de3442d34 Mon Sep 17 00:00:00 2001 From: Jason Tyler Date: Mon, 22 Oct 2018 21:20:34 -0700 Subject: [PATCH] Feature Request: Insert blank lines before/after single-line fields Fixes #433 Add settings to hold the before/after blank lines on fields user setting. Default to false. --- CodeMaid/Properties/Settings.Designer.cs | 24 ++++++++++++++++++++++++ CodeMaid/Properties/Settings.settings | 6 ++++++ CodeMaid/app.config | 8 ++++++++ 3 files changed, 38 insertions(+) diff --git a/CodeMaid/Properties/Settings.Designer.cs b/CodeMaid/Properties/Settings.Designer.cs index 43c18b4a..b2b62816 100644 --- a/CodeMaid/Properties/Settings.Designer.cs +++ b/CodeMaid/Properties/Settings.Designer.cs @@ -2234,5 +2234,29 @@ public bool Feature_SwitchFile { this["Formatting_IgnoreLinesStartingWith"] = value; } } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool Cleaning_InsertBlankLinePaddingBeforeFieldsSingleLine { + get { + return ((bool)(this["Cleaning_InsertBlankLinePaddingBeforeFieldsSingleLine"])); + } + set { + this["Cleaning_InsertBlankLinePaddingBeforeFieldsSingleLine"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool Cleaning_InsertBlankLinePaddingAfterFieldsSingleLine { + get { + return ((bool)(this["Cleaning_InsertBlankLinePaddingAfterFieldsSingleLine"])); + } + set { + this["Cleaning_InsertBlankLinePaddingAfterFieldsSingleLine"] = value; + } + } } } diff --git a/CodeMaid/Properties/Settings.settings b/CodeMaid/Properties/Settings.settings index 46f94216..070cd227 100644 --- a/CodeMaid/Properties/Settings.settings +++ b/CodeMaid/Properties/Settings.settings @@ -558,5 +558,11 @@ <string>ReSharper enable </string> </ArrayOfString> + + False + + + False + \ No newline at end of file diff --git a/CodeMaid/app.config b/CodeMaid/app.config index 62562525..22acef38 100644 --- a/CodeMaid/app.config +++ b/CodeMaid/app.config @@ -613,6 +613,14 @@ + + False + + + False +