2 instantiations of XamlFormattingOptions
Microsoft.VisualStudio.LanguageServices.Xaml (2)
Implementation\LanguageServer\Handler\Formatting\AbstractFormatDocumentHandlerBase.cs (1)
43
var options = new
XamlFormattingOptions
{ InsertSpaces = formattingOptions.InsertSpaces, TabSize = formattingOptions.TabSize, OtherOptions = formattingOptions.OtherOptions };
Implementation\LanguageServer\Handler\Formatting\FormatDocumentOnTypeHandler.cs (1)
50
var options = new
XamlFormattingOptions
{ InsertSpaces = request.Options.InsertSpaces, TabSize = request.Options.TabSize, OtherOptions = request.Options.OtherOptions };
4 references to XamlFormattingOptions
Microsoft.VisualStudio.LanguageServices.Xaml (4)
Features\Formatting\IXamlFormattingService.cs (2)
18
Task<IList<TextChange>> GetFormattingChangesAsync(TextDocument document,
XamlFormattingOptions
options, TextSpan? textSpan, CancellationToken cancellationToken);
19
Task<IList<TextChange>> GetFormattingChangesAsync(TextDocument document,
XamlFormattingOptions
options, char typedChar, int position, CancellationToken cancellationToken);
Implementation\LanguageServer\Handler\Formatting\AbstractFormatDocumentHandlerBase.cs (1)
43
var
options = new XamlFormattingOptions { InsertSpaces = formattingOptions.InsertSpaces, TabSize = formattingOptions.TabSize, OtherOptions = formattingOptions.OtherOptions };
Implementation\LanguageServer\Handler\Formatting\FormatDocumentOnTypeHandler.cs (1)
50
var
options = new XamlFormattingOptions { InsertSpaces = request.Options.InsertSpaces, TabSize = request.Options.TabSize, OtherOptions = request.Options.OtherOptions };