18 references to FormattingOptions2
GenerateDocumentationAndConfigFiles (18)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\FormattingOptions2.cs (1)
12using PublicIndentStyle = Microsoft.CodeAnalysis.Formatting.FormattingOptions2.IndentStyle;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\LineFormattingOptions.cs (4)
24UseTabs = options.GetOption(FormattingOptions2.UseTabs, language); 25TabSize = options.GetOption(FormattingOptions2.TabSize, language); 26IndentationSize = options.GetOption(FormattingOptions2.IndentationSize, language); 27NewLine = options.GetOption(FormattingOptions2.NewLine, language);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\SyntaxFormattingOptions.cs (2)
34WrappingColumn = options.GetOption(FormattingOptions2.WrappingColumn, language); 35ConditionalExpressionWrappingLength = options.GetOption(FormattingOptions2.ConditionalExpressionWrappingLength, language);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.cs (1)
19protected abstract AbstractFormattingRule GetSpecializedIndentationFormattingRule(FormattingOptions2.IndentStyle indentStyle);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.Indenter.cs (4)
70public IndentationResult? GetDesiredIndentation(FormattingOptions2.IndentStyle indentStyle) 73if (indentStyle == FormattingOptions2.IndentStyle.None) 78if (indentStyle == FormattingOptions2.IndentStyle.Block || 84Debug.Assert(indentStyle == FormattingOptions2.IndentStyle.Smart);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\IndentationOptions.cs (3)
15[DataMember(Order = 2)] public FormattingOptions2.IndentStyle IndentStyle { get; init; } = DefaultIndentStyle; 17public const FormattingOptions2.IndentStyle DefaultIndentStyle = FormattingOptions2.IndentStyle.Smart;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Formatting\DocumentFormattingOptionsProviders.cs (1)
19InsertFinalNewLine = options.GetOption(FormattingOptions2.InsertFinalNewLine)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Indentation\AbstractIndentationService.cs (2)
21if (indentStyle == FormattingOptions2.IndentStyle.None) 29if (indentStyle == FormattingOptions2.IndentStyle.Smart &&