9 writes to TabSize
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\Converters\FormattingOptionsConverter.cs (1)
58TabSize = tabSize ?? ThrowMissingRequiredProperty<int>(nameof(tabSize)),
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (8)
Formatting\FormatDocumentOnTypeTests.cs (1)
133TabSize = tabSize,
Formatting\FormatDocumentRangeTests.cs (1)
106TabSize = tabSize
Formatting\FormatDocumentTests.cs (1)
325TabSize = tabSize,
InlineCompletions\InlineCompletionsTests.cs (4)
75""", mutatingLspWorkspace, options: new LSP.FormattingOptions { TabSize = 1, InsertSpaces = true }); 225var result = await GetInlineCompletionsAsync(testLspServer, locationTyped, new LSP.FormattingOptions { InsertSpaces = true, TabSize = 4 }); 231result = await GetInlineCompletionsAsync(testLspServer, locationTyped, new LSP.FormattingOptions { InsertSpaces = true, TabSize = 4 }); 245var result = await GetInlineCompletionsAsync(testLspServer, locationTyped, options ?? new LSP.FormattingOptions { InsertSpaces = true, TabSize = 4 });
OnAutoInsert\OnAutoInsertTests.cs (1)
406TabSize = tabSize
5 references to TabSize
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Extensions\ProtocolConversions.cs (2)
868TabSize = options.TabSize, 869IndentationSize = options.TabSize,
Protocol\Converters\FormattingOptionsConverter.cs (1)
118writer.WriteNumber("tabSize", value.TabSize);
Microsoft.VisualStudio.LanguageServices.Xaml (2)
Implementation\LanguageServer\Handler\Formatting\AbstractFormatDocumentHandlerBase.cs (1)
45TabSize = formattingOptions.TabSize,
Implementation\LanguageServer\Handler\Formatting\FormatDocumentOnTypeHandler.cs (1)
47var options = new XamlFormattingOptions { InsertSpaces = request.Options.InsertSpaces, TabSize = request.Options.TabSize, OtherOptions = request.Options.OtherOptions?.AsUntyped() };