From 73616074e5a23c1c9e883afa0d5b83b14490167d Mon Sep 17 00:00:00 2001 From: "Sean G. Wright" Date: Sun, 28 Jan 2018 12:28:17 -0500 Subject: [PATCH] Fix CSharpFormattingOptions csharp_space_around_binary_operators key Fixes issue #20355? Is there something special about this bug or am I missing something? There's just an extra space that needs removed, right? --- .../CSharp/Portable/Formatting/CSharpFormattingOptions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Workspaces/CSharp/Portable/Formatting/CSharpFormattingOptions.cs b/src/Workspaces/CSharp/Portable/Formatting/CSharpFormattingOptions.cs index bec112dbc93..687c936dc3f 100644 --- a/src/Workspaces/CSharp/Portable/Formatting/CSharpFormattingOptions.cs +++ b/src/Workspaces/CSharp/Portable/Formatting/CSharpFormattingOptions.cs @@ -123,7 +123,7 @@ public static partial class CSharpFormattingOptions public static Option SpacingAroundBinaryOperator { get; } = new Option(nameof(CSharpFormattingOptions), nameof(SpacingAroundBinaryOperator), defaultValue: BinaryOperatorSpacingOptions.Single, storageLocations: new OptionStorageLocation[] { - new EditorConfigStorageLocation("csharp_space_around_binary_operators ", s => ParseEditorConfigSpacingAroundBinaryOperator(s)), + new EditorConfigStorageLocation("csharp_space_around_binary_operators", s => ParseEditorConfigSpacingAroundBinaryOperator(s)), new RoamingProfileStorageLocation("TextEditor.CSharp.Specific.SpacingAroundBinaryOperator")}); public static Option IndentBraces { get; } = new Option(nameof(CSharpFormattingOptions), nameof(IndentBraces), defaultValue: false, -- GitLab