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