14 references to GetIndentationString
Microsoft.CodeAnalysis.Razor.Workspaces (11)
CodeActions\Razor\GenerateEventHandlerCodeActionResolver.cs (2)
151var eventHandlerIndentation = FormattingUtilities.GetIndentationString(baseIndentation, options.InsertSpaces, options.TabSize); 152var eventHandlerBodyIndentation = FormattingUtilities.GetIndentationString(baseIndentation + options.TabSize, options.InsertSpaces, options.TabSize);
CodeActions\Razor\WrapAttributesCodeActionResolver.cs (1)
29var indentationString = FormattingUtilities.GetIndentationString(actionParams.IndentSize, options.InsertSpaces, options.TabSize);
DocumentMapping\RazorEditService_Methods.cs (1)
185builder.Append(FormattingUtilities.GetIndentationString(Math.Max(0, newIndentation), options.InsertSpaces, options.TabSize));
Formatting\FormattingContext.cs (1)
181var indentationString = FormattingUtilities.GetIndentationString(indentation, Options.InsertSpaces, Options.TabSize);
Formatting\FormattingUtilities.cs (1)
454return GetIndentationString(indentationWidth, context.Options.InsertSpaces, context.Options.TabSize);
Formatting\Passes\CSharpOnTypeFormattingPass.cs (1)
844var effectiveDesiredIndentation = FormattingUtilities.GetIndentationString(indentation, context.Options.InsertSpaces, context.Options.TabSize);
Formatting\Passes\HtmlOnTypeFormattingPass.cs (1)
185var existingIndentationString = FormattingUtilities.GetIndentationString(indentations[i].ExistingIndentationSize, context.Options.InsertSpaces, context.Options.TabSize);
Formatting\Passes\RazorFormattingPass.cs (3)
274? context.NewLineString + FormattingUtilities.GetIndentationString( 359var newText = context.NewLineString + FormattingUtilities.GetIndentationString( 433var newText = context.NewLineString + FormattingUtilities.GetIndentationString(
Microsoft.CodeAnalysis.Razor.Workspaces.UnitTests (3)
Formatting\FormattingUtilitiesTest.cs (3)
63var actual = FormattingUtilities.GetIndentationString(indentation, insertSpaces, tabSize); 75var result1 = FormattingUtilities.GetIndentationString(indentation, insertSpaces, tabSize); 76var result2 = FormattingUtilities.GetIndentationString(indentation, insertSpaces, tabSize);