9 writes to InsertSpaces
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\Converters\FormattingOptionsConverter.cs (1)
59InsertSpaces = insertSpaces ?? ThrowMissingRequiredProperty<bool>(nameof(insertSpaces)),
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (8)
Formatting\FormatDocumentOnTypeTests.cs (1)
132InsertSpaces = insertSpaces,
Formatting\FormatDocumentRangeTests.cs (1)
105InsertSpaces = insertSpaces,
Formatting\FormatDocumentTests.cs (1)
324InsertSpaces = insertSpaces,
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)
405InsertSpaces = insertSpaces,
4 references to InsertSpaces
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Extensions\ProtocolConversions.cs (1)
867UseTabs = !options.InsertSpaces,
Protocol\Converters\FormattingOptionsConverter.cs (1)
119writer.WriteBoolean("insertSpaces", value.InsertSpaces);
Microsoft.VisualStudio.LanguageServices.Xaml (2)
Implementation\LanguageServer\Handler\Formatting\AbstractFormatDocumentHandlerBase.cs (1)
44InsertSpaces = formattingOptions.InsertSpaces,
Implementation\LanguageServer\Handler\Formatting\FormatDocumentOnTypeHandler.cs (1)
47var options = new XamlFormattingOptions { InsertSpaces = request.Options.InsertSpaces, TabSize = request.Options.TabSize, OtherOptions = request.Options.OtherOptions?.AsUntyped() };