9 references to Snippet
Microsoft.CodeAnalysis.LanguageServer.Protocol (5)
Handler\Completion\CompletionResultFactory.cs (1)
391
lspItem.InsertTextFormat = LSP.InsertTextFormat.
Snippet
;
Handler\InlineCompletions\InlineCompletionsHandler.cs (1)
162
TextFormat = InsertTextFormat.
Snippet
,
Handler\OnAutoInsert\OnAutoInsertHandler.cs (2)
135
TextEditFormat = LSP.InsertTextFormat.
Snippet
,
199
TextEditFormat = 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)
252
Assert.Equal(LSP.InsertTextFormat.
Snippet
, item.TextFormat);
OnAutoInsert\OnAutoInsertTests.cs (1)
366
Assert.Equal(InsertTextFormat.
Snippet
, result.TextEditFormat);
Microsoft.VisualStudio.LanguageServices.Xaml (2)
Implementation\LanguageServer\Handler\Completion\CompletionHandler.cs (1)
96
InsertTextFormat = xamlCompletion.IsSnippet ? InsertTextFormat.
Snippet
: InsertTextFormat.Plaintext,
Implementation\LanguageServer\Handler\OnAutoInsert\OnAutoInsertHandler.cs (1)
60
insertFormat = InsertTextFormat.
Snippet
;