33 references to SpaceBeforeComma
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Formatting\CSharpFormattingOptions.cs (2)
126/// <inheritdoc cref="CSharpFormattingOptions2.SpaceBeforeComma"/> 127public static Option<bool> SpaceBeforeComma { get; } = CSharpFormattingOptions2.SpaceBeforeComma.ToPublicOption();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpSyntaxFormattingOptions.cs (1)
92(options.GetOption(CSharpFormattingOptions2.SpaceBeforeComma) ? SpacePlacement.BeforeComma : 0) |
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (26)
Formatting\FormattingTests.cs (26)
6582optionSet.Add(CSharpFormattingOptions2.SpaceBeforeComma, true); 6989{ SpaceBeforeComma, false }, 7020{ SpaceBeforeComma, false }, 7051{ SpaceBeforeComma, true }, 7082{ SpaceBeforeComma, true }, 7113{ SpaceBeforeComma, false }, 7144{ SpaceBeforeComma, false }, 7175{ SpaceBeforeComma, true }, 7206{ SpaceBeforeComma, true }, 7237{ SpaceBeforeComma, false }, 7268{ SpaceBeforeComma, false }, 7299{ SpaceBeforeComma, true }, 7330{ SpaceBeforeComma, true }, 7361{ SpaceBeforeComma, false }, 7392{ SpaceBeforeComma, false }, 7423{ SpaceBeforeComma, true }, 7454{ SpaceBeforeComma, true }, 7483{ SpaceBeforeComma, true }, 10574{ SpaceBeforeComma, false }, 10594{ SpaceBeforeComma, true }, 10637{ SpaceBeforeComma, false }, 10657{ SpaceBeforeComma, true }, 10700{ SpaceBeforeComma, false }, 10720{ SpaceBeforeComma, true }, 10767{ SpaceBeforeComma, false }, 10789{ SpaceBeforeComma, true },
Microsoft.VisualStudio.LanguageServices.CSharp (4)
EditorConfigSettings\DataProvider\Whitespace\CSharpWhitespaceSettingsProvider.cs (1)
68yield return Setting.Create(CSharpFormattingOptions2.SpaceBeforeComma, CSharpVSResources.Insert_space_before_comma, options, updaterService);
Options\AutomationObject\AutomationObject.Formatting.cs (2)
200get { return GetBooleanOption(CSharpFormattingOptions2.SpaceBeforeComma); } 201set { SetBooleanOption(CSharpFormattingOptions2.SpaceBeforeComma, value); }
Options\Formatting\SpacingViewModel.cs (1)
163Items.Add(new CheckBoxOptionViewModel(CSharpFormattingOptions2.SpaceBeforeComma, CSharpVSResources.Insert_space_before_comma, s_delimiterPreview, this, optionStore));