Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Krüger <mikkrg@microsoft.com>2018-06-19 19:05:18 +0300
committerMike Krüger <mikkrg@microsoft.com>2018-08-21 13:44:32 +0300
commit51f8edcd50052bc3af7afb4adca6bbd93d12b07b (patch)
tree2ec0095b8b8776981f7701ddec95b013a0d6f3eb /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Editor/DefaultSourceEditorOptions.cs
parent448f57e59b47720b47ef71aa5ca6199ab6f0979d (diff)
Fixes VSTS Bug 631500: [Feedback] EditorConfig doesn't work for VS for
Mac using .NET Core Rules https://devdiv.visualstudio.com/DevDiv/_workitems/edit/635513 VS.NET allows the code diagnostics & actions to be altered in behavior with editconfig files. Unfortunately we've a code issue panel settings overriding these options in a later stage where it can't be decided if the option setting originated in .editconfig or not. And there were plenty of code generation related settings we didn't support. So I decided to remove the code issue panel completely and use the vs.net panel directly. It's using a MVVM approach therefore I ported some infrastructure from the vs.net part of roslyn and replaced the WPF part with XWT - now it's possible to transfer more controls over to monodevelop. Maybe with a conversion script (translation aprroaches are done differently - this needs to be converted to gettext calls). The name violation rules furthermore required the implementation of the ISymbolRenamedCodeActionOperationFactoryWorkspaceService. .editconfig support is now working as intended and we support now all the style & severity settings VS.NET has to offer. OptionSet persistance will be done in a different commit.
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.cs8
1 files changed, 7 insertions, 1 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..12cd091581 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Editor/DefaultSourceEditorOptions.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Editor/DefaultSourceEditorOptions.cs
@@ -145,7 +145,7 @@ namespace MonoDevelop.Ide.Editor
bool ITextEditorOptions.HighlightCaretLine {
get {
- return DefaultSourceEditorOptions.Instance.HighlightCaretLine;
+ return false;
}
}
@@ -244,6 +244,12 @@ namespace MonoDevelop.Ide.Editor
return DefaultSourceEditorOptions.Instance.SmartBackspace;
}
}
+
+ bool ITextEditorOptions.EnableQuickDiff {
+ get {
+ return false;
+ }
+ }
#endregion