diff options
author | Mike Krüger <mikkrg@microsoft.com> | 2018-07-09 11:43:07 +0300 |
---|---|---|
committer | Mike Krüger <mikkrg@microsoft.com> | 2018-08-21 13:58:24 +0300 |
commit | 9b872e79e229fbc757116459e8b8af95370bddcb (patch) | |
tree | 356ce1e67aafc45531f7f770b5bb9ab3aa40405a /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Editor/DefaultSourceEditorOptions.cs | |
parent | dda7216abcb79812d70810f6e58ed8782a0e45ad (diff) |
[CSharpBinding] Mapped VS.NET on type behavior options & added an
option panel.
The options are taken by the roslyn formatting engine it's not needed
anymore on our side to check on the fly formatting options. With the
exception of the paste formatting which needs to be checked.
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Editor/DefaultSourceEditorOptions.cs')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Editor/DefaultSourceEditorOptions.cs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Editor/DefaultSourceEditorOptions.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Editor/DefaultSourceEditorOptions.cs index 7837d6212b..318867616a 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Editor/DefaultSourceEditorOptions.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Editor/DefaultSourceEditorOptions.cs @@ -467,14 +467,13 @@ namespace MonoDevelop.Ide.Editor #endregion - ConfigurationProperty<bool> onTheFlyFormatting = ConfigurationProperty.Create ("OnTheFlyFormatting", true); + [Obsolete ("Deprecated - use the roslyn FeatureOnOffOptions.FormatXXX per document options.")] public bool OnTheFlyFormatting { get { - return onTheFlyFormatting; + return true; } set { - if (onTheFlyFormatting.Set (value)) - OnChanged (EventArgs.Empty); + // unused } } |