2 writes to CommitCharacters
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Handler\Completion\CompletionResultFactory.cs (2)
253completionItem.CommitCharacters = null; 303completionItem.CommitCharacters = null;
10 references to CommitCharacters
Microsoft.CodeAnalysis.LanguageServer.Protocol (10)
Handler\Completion\CompletionResultFactory.cs (3)
252if (completionItem.CommitCharacters == DefaultCommitCharactersArray) 269var commitCharacters = completionItem.CommitCharacters; 301if (completionItem.CommitCharacters == mostUsedCommitCharacters)
Protocol\CompletionItemSetting.cs (1)
37/// The client supports the <see cref="CompletionItem.CommitCharacters"/> property.
Protocol\Internal\Efficiency\OptimizedVSCompletionListJsonConverter.cs (5)
216if (completionItem.CommitCharacters != null && completionItem.CommitCharacters.Length > 0) 218if (!itemRawJsonCache.TryGetValue(completionItem.CommitCharacters, out var jsonString)) 220jsonString = JsonSerializer.Serialize(completionItem.CommitCharacters, options); 221itemRawJsonCache.Add(completionItem.CommitCharacters, jsonString);
Protocol\Internal\VSInternalCompletionList.cs (1)
53/// Gets or sets the default <see cref="CompletionItem.CommitCharacters"/> or <see cref="VSInternalCompletionItem.VsCommitCharacters"/> used for completion items.