1 write to FormattingOptions
Microsoft.CodeAnalysis.Features (1)
Wrapping\SyntaxWrappingOptions.cs (1)
19
FormattingOptions
= formattingOptions;
16 references to FormattingOptions
Microsoft.CodeAnalysis.Features (16)
Wrapping\AbstractCodeActionComputer.cs (6)
76
NewLineTrivia = new SyntaxTriviaList(generatorInternal.EndOfLine(options.
FormattingOptions
.NewLine));
88
var newLine = Options.
FormattingOptions
.NewLine;
95
var indentationOptions = new IndentationOptions(Options.
FormattingOptions
) { IndentStyle = indentStyle };
108
return desiredIndentation.GetIndentationString(newSourceText, Options.
FormattingOptions
.UseTabs, Options.
FormattingOptions
.TabSize);
167
newDocument, spanToFormat, Options.
FormattingOptions
, cancellationToken).ConfigureAwait(false);
Wrapping\BinaryExpression\BinaryExpressionCodeActionComputer.cs (2)
63
.CreateIndentationString(options.
FormattingOptions
.UseTabs, options.
FormattingOptions
.TabSize)));
Wrapping\ChainedExpression\ChainedExpressionCodeActionComputer.cs (2)
85
OriginalSourceText.GetOffset(firstPeriod.SpanStart).CreateIndentationString(options.
FormattingOptions
.UseTabs, options.
FormattingOptions
.TabSize)));
Wrapping\SeparatedSyntaxList\SeparatedSyntaxListCodeActionComputer.cs (2)
109
var indentString = afterOpenTokenOffset.CreateIndentationString(Options.
FormattingOptions
.UseTabs, Options.
FormattingOptions
.TabSize);
Wrapping\SyntaxWrappingOptions.cs (4)
23
public bool UseTabs =>
FormattingOptions
.UseTabs;
24
public int TabSize =>
FormattingOptions
.TabSize;
25
public string NewLine =>
FormattingOptions
.NewLine;
26
public int WrappingColumn =>
FormattingOptions
.WrappingColumn;