protected CompletionItem CreateSuggestionModeItem(string displayText, string description)
 {
     return(CommonCompletionItem.Create(
                displayText: displayText ?? string.Empty,
                description: description != null ? description.ToSymbolMarkupTokens() : default(ImmutableArray <SymbolMarkupToken>),
                rules: s_suggestionItemRules));
 }
 protected virtual Task <CompletionDescription> GetDescriptionWorkerAsync(
     LogicalDocument document, CompletionItem item, CancellationToken cancellationToken)
 {
     return(CommonCompletionItem.HasDescription(item)
         ? Task.FromResult(CommonCompletionItem.GetDescription(item))
         : Task.FromResult(CompletionDescription.Empty));
 }