9 references to Snippet
Microsoft.CodeAnalysis.LanguageServer.Protocol (5)
Handler\Completion\CompletionResultFactory.cs (1)
391lspItem.InsertTextFormat = LSP.InsertTextFormat.Snippet;
Handler\InlineCompletions\InlineCompletionsHandler.cs (1)
162TextFormat = InsertTextFormat.Snippet,
Handler\OnAutoInsert\OnAutoInsertHandler.cs (2)
135TextEditFormat = LSP.InsertTextFormat.Snippet, 199TextEditFormat = LSP.InsertTextFormat.Snippet,
Protocol\CompletionItemSetting.cs (1)
20/// when <see cref="CompletionItem.InsertTextFormat"/> is set to <see cref="InsertTextFormat.Snippet"/>.
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (2)
InlineCompletions\InlineCompletionsTests.cs (1)
252Assert.Equal(LSP.InsertTextFormat.Snippet, item.TextFormat);
OnAutoInsert\OnAutoInsertTests.cs (1)
366Assert.Equal(InsertTextFormat.Snippet, result.TextEditFormat);
Microsoft.VisualStudio.LanguageServices.Xaml (2)
Implementation\LanguageServer\Handler\Completion\CompletionHandler.cs (1)
96InsertTextFormat = xamlCompletion.IsSnippet ? InsertTextFormat.Snippet : InsertTextFormat.Plaintext,
Implementation\LanguageServer\Handler\OnAutoInsert\OnAutoInsertHandler.cs (1)
60insertFormat = InsertTextFormat.Snippet;