19 references to IndentationResult
Microsoft.CodeAnalysis.Features (1)
Wrapping\AbstractCodeActionComputer.cs (1)
105var desiredIndentation = indentationService.GetIndentation(
Microsoft.CodeAnalysis.Workspaces (18)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.cs (1)
31protected abstract IndentationResult? GetDesiredIndentationWorker(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.Indenter.cs (10)
71public IndentationResult? GetDesiredIndentation(FormattingOptions2.IndentStyle indentStyle) 89private readonly IndentationResult? GetDesiredSmartIndentation() 148private IndentationResult? GetDesiredBlockIndentation() 167public bool TryGetSmartTokenIndentation(out IndentationResult indentationResult) 203public IndentationResult IndentFromStartOfLine(int addedSpaces) 206public IndentationResult GetIndentationOfToken(SyntaxToken token) 209public IndentationResult GetIndentationOfToken(SyntaxToken token, int addedSpaces) 212public IndentationResult GetIndentationOfLine(TextLine lineToMatch) 215public IndentationResult GetIndentationOfLine(TextLine lineToMatch, int addedSpaces) 223private IndentationResult GetIndentationOfPosition(int position, int addedSpaces)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Indentation\AbstractIndentationService.cs (2)
19public IndentationResult GetIndentation( 33indenter.TryGetSmartTokenIndentation(out var indentationResult))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Indentation\IIndentationService.cs (5)
21IndentationResult GetIndentation(ParsedDocument document, int lineNumber, IndentationOptions options, CancellationToken cancellationToken); 59var indentation = indenter.GetIndentation(newDocument, newTokenLine.LineNumber, options, cancellationToken); 67public static string GetIndentationString(this IndentationResult indentationResult, SourceText sourceText, bool useTabs, int tabSize) 78public static string GetIndentationString(this IndentationResult indentationResult, SourceText sourceText, SyntaxFormattingOptions options) 81public static string GetIndentationString(this IndentationResult indentationResult, SourceText sourceText, IndentationOptions options)