32 references to FormattingOptions
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Workspaces\WorkspaceTests_EditorFeatures.cs (1)
1396var changedValue = FormattingOptions.IndentStyle.Block;
Microsoft.CodeAnalysis.EditorFeatures.DiagnosticsTests.Utilities (1)
SplitComments\AbstractSplitCommentCommandHandlerTests.cs (1)
24using static Microsoft.CodeAnalysis.Formatting.FormattingOptions;
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Formatting\InferredIndentationTests.cs (1)
29Assert.Equal(FormattingOptions.UseTabs.DefaultValue, options.UseTabs);
Microsoft.CodeAnalysis.ExternalAccess.FSharp (4)
Editor\AutoFormattingOptionsWrapper.cs (2)
20public FormattingOptions.IndentStyle IndentStyle 21=> (FormattingOptions.IndentStyle)_indentStyle;
Editor\IFSharpIndentationService.cs (1)
67internal readonly record struct FSharpIndentationOptions(int TabSize, FormattingOptions.IndentStyle IndentStyle);
Internal\Editor\FSharpSmartIndentProvider.cs (1)
92IndentStyle: (FormattingOptions.IndentStyle)indentStyle);
Microsoft.CodeAnalysis.ExternalAccess.Razor (1)
RazorCSharpFormattingInteractionService.cs (1)
38FormattingOptions.IndentStyle indentStyle,
Microsoft.CodeAnalysis.Workspaces (1)
FormattingOptions2.cs (1)
15using PublicIndentStyle = Microsoft.CodeAnalysis.Formatting.FormattingOptions.IndentStyle;
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (6)
Options\OptionsTestHelpers.cs (6)
32(FormattingOptions.SmartIndent, FormattingOptions.IndentStyle.Block)); 35(FormattingOptions.UseTabs, true), 36(FormattingOptions.TabSize, 5), 37(FormattingOptions.IndentationSize, 7), 38(FormattingOptions.NewLine, "\r"),
Microsoft.CodeAnalysis.Workspaces.UnitTests (15)
Formatter\FormatterTests.cs (9)
74WithChangedOption(new OptionKey(FormattingOptions.UseTabs, NoCompilationConstants.LanguageName), false). 75WithChangedOption(new OptionKey(FormattingOptions.TabSize, NoCompilationConstants.LanguageName), 1). 76WithChangedOption(new OptionKey(FormattingOptions.IndentationSize, NoCompilationConstants.LanguageName), 7). 77WithChangedOption(new OptionKey(FormattingOptions.NewLine, NoCompilationConstants.LanguageName), "\n"); 83Assert.Equal(7, documentOptions.GetOption(FormattingOptions.IndentationSize)); 87Add(new OptionKey(FormattingOptions.UseTabs, NoCompilationConstants.LanguageName), true). 88Add(new OptionKey(FormattingOptions.TabSize, NoCompilationConstants.LanguageName), 5). 89Add(new OptionKey(FormattingOptions.IndentationSize, NoCompilationConstants.LanguageName), 6). 90Add(new OptionKey(FormattingOptions.NewLine, NoCompilationConstants.LanguageName), "\r")) : null;
Options\OptionKeyTests.cs (3)
146var option3 = new PerLanguageOption<bool>("FormattingOptions", "UseTabs", FormattingOptions.UseTabs.DefaultValue); 150Assert.False(FormattingOptions.UseTabs.Equals(option3)); 151Assert.False(option3.Equals(FormattingOptions.UseTabs));
SolutionTests\SolutionTests.cs (2)
4261var option = FormattingOptions.UseTabs; 4395Assert.Equal(appliedToDocument, documentOptions.GetOption(FormattingOptions.UseTabs));
WorkspaceServiceTests\GlobalOptionServiceTests.cs (1)
99var perLanguageOptionKey = new OptionKey(FormattingOptions.NewLine, "lang");
Roslyn.VisualStudio.Next.UnitTests (2)
Services\SolutionServiceTests.cs (2)
472.WithChangedOption(FormattingOptions.NewLine, LanguageNames.CSharp, newOptionValue) 473.WithChangedOption(FormattingOptions.NewLine, LanguageNames.VisualBasic, newOptionValue));