19 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)
195InsertSpaces = 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\AbstractOnAutoInsertTests.cs (1)
107InsertSpaces = insertSpaces,
Microsoft.CodeAnalysis.Razor.Workspaces (1)
Formatting\RazorFormattingOptions.cs (1)
70InsertSpaces = InsertSpaces,
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (6)
Cohost\CohostOnTypeFormattingEndpointTest.cs (1)
155InsertSpaces = true
Cohost\CohostRangeFormattingEndpointTest.cs (1)
197InsertSpaces = true,
Cohost\Formatting\FormattingTestBase.cs (1)
76InsertSpaces = insertSpaces
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostOnAutoInsertEndpointTest.cs (1)
586InsertSpaces = insertSpaces,
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Formatting\DocumentFormattingTestBase.cs (2)
143InsertSpaces = insertSpaces 158InsertSpaces = true
Microsoft.VisualStudioCode.RazorExtension.UnitTests (3)
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostOnAutoInsertEndpointTest.cs (1)
586InsertSpaces = insertSpaces,
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Formatting\DocumentFormattingTestBase.cs (2)
143InsertSpaces = insertSpaces 158InsertSpaces = true
5 references to InsertSpaces
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Extensions\ProtocolConversions.cs (1)
970UseTabs = !options.InsertSpaces,
Protocol\Converters\FormattingOptionsConverter.cs (1)
119writer.WriteBoolean("insertSpaces", value.InsertSpaces);
Microsoft.CodeAnalysis.Razor.Workspaces (3)
Formatting\RazorFormattingOptions.cs (3)
34InsertSpaces = options.InsertSpaces, 43InsertSpaces = options.InsertSpaces, 53InsertSpaces = options.InsertSpaces,