15 references to FormattingOptions2
Microsoft.CodeAnalysis.CodeStyle (15)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\FormattingOptions2.cs (1)
13
using PublicIndentStyle = Microsoft.CodeAnalysis.Formatting.
FormattingOptions2
.IndentStyle;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\LineFormattingOptions.cs (4)
24
UseTabs = options.GetOption(
FormattingOptions2
.UseTabs, language);
25
TabSize = options.GetOption(
FormattingOptions2
.TabSize, language);
26
IndentationSize = options.GetOption(
FormattingOptions2
.IndentationSize, language);
27
NewLine = options.GetOption(
FormattingOptions2
.NewLine, language);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\SyntaxFormattingOptions.cs (2)
34
WrappingColumn = options.GetOption(
FormattingOptions2
.WrappingColumn, language);
35
ConditionalExpressionWrappingLength = options.GetOption(
FormattingOptions2
.ConditionalExpressionWrappingLength, language);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.cs (1)
19
protected abstract AbstractFormattingRule GetSpecializedIndentationFormattingRule(
FormattingOptions2
.IndentStyle indentStyle);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.Indenter.cs (4)
71
public IndentationResult? GetDesiredIndentation(
FormattingOptions2
.IndentStyle indentStyle)
74
if (indentStyle ==
FormattingOptions2
.IndentStyle.None)
79
if (indentStyle ==
FormattingOptions2
.IndentStyle.Block ||
85
Debug.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;
17
public const
FormattingOptions2
.IndentStyle DefaultIndentStyle =
FormattingOptions2
.IndentStyle.Smart;