19 references to IndentationResult
Microsoft.CodeAnalysis.Features (1)
Wrapping\AbstractCodeActionComputer.cs (1)
103var 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)
70public IndentationResult? GetDesiredIndentation(FormattingOptions2.IndentStyle indentStyle) 88private readonly IndentationResult? GetDesiredSmartIndentation() 147private IndentationResult? GetDesiredBlockIndentation() 166public bool TryGetSmartTokenIndentation(out IndentationResult indentationResult) 202public IndentationResult IndentFromStartOfLine(int addedSpaces) 205public IndentationResult GetIndentationOfToken(SyntaxToken token) 208public IndentationResult GetIndentationOfToken(SyntaxToken token, int addedSpaces) 211public IndentationResult GetIndentationOfLine(TextLine lineToMatch) 214public IndentationResult GetIndentationOfLine(TextLine lineToMatch, int addedSpaces) 222private IndentationResult GetIndentationOfPosition(int position, int addedSpaces)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Indentation\AbstractIndentationService.cs (2)
16public IndentationResult GetIndentation( 30indenter.TryGetSmartTokenIndentation(out var indentationResult))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Indentation\IIndentationService.cs (5)
20IndentationResult GetIndentation(ParsedDocument document, int lineNumber, IndentationOptions options, CancellationToken cancellationToken); 58var indentation = indenter.GetIndentation(newDocument, newTokenLine.LineNumber, options, cancellationToken); 66public static string GetIndentationString(this IndentationResult indentationResult, SourceText sourceText, bool useTabs, int tabSize) 77public static string GetIndentationString(this IndentationResult indentationResult, SourceText sourceText, SyntaxFormattingOptions options) 80public static string GetIndentationString(this IndentationResult indentationResult, SourceText sourceText, IndentationOptions options)