17 references to InsertTextFormat
Microsoft.CodeAnalysis.LanguageServer.Protocol (16)
Handler\Completion\CompletionResultFactory.cs (1)
384lspItem.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\CompletionItem.cs (4)
175/// The format of the insert text. If omitted, defaults to <see cref="InsertTextFormat.Plaintext"/> 188[DefaultValue(InsertTextFormat.Plaintext)] 189public InsertTextFormat InsertTextFormat 193} = InsertTextFormat.Plaintext;
Protocol\CompletionItemSetting.cs (1)
20/// when <see cref="CompletionItem.InsertTextFormat"/> is set to <see cref="InsertTextFormat.Snippet"/>.
Protocol\CompletionListItemDefaults.cs (1)
43public InsertTextFormat? InsertTextFormat
Protocol\Internal\Efficiency\OptimizedVSCompletionListJsonConverter.cs (1)
193if (completionItem.InsertTextFormat != default && completionItem.InsertTextFormat != InsertTextFormat.Plaintext)
Protocol\Internal\VSInternalDocumentOnAutoInsertResponseItem.cs (3)
21[DefaultValue(InsertTextFormat.Plaintext)] 24public InsertTextFormat TextEditFormat 28} = InsertTextFormat.Plaintext;
Protocol\Internal\VSInternalInlineCompletionItem.cs (2)
44public InsertTextFormat? TextFormat { get; set; } = InsertTextFormat.Plaintext;
Microsoft.VisualStudio.LanguageServices.Xaml (1)
Implementation\LanguageServer\Handler\OnAutoInsert\OnAutoInsertHandler.cs (1)
57var insertFormat = InsertTextFormat.Plaintext;