Handler\Completion\CompletionResultFactory.cs (8)
64var resolveData = new CompletionResolveData(resultId, ProtocolConversions.DocumentToTextDocumentIdentifier(document));
88EditRange = capabilityHelper.SupportDefaultEditRange ? ProtocolConversions.TextSpanToRange(defaultSpan, documentText) : null,
177if (ProtocolConversions.RoslynTagToCompletionItemKinds.TryGetValue(tag, out var completionItemKinds))
205if (ProtocolConversions.RoslynTagToCompletionItemTags.TryGetValue(tag, out var completionItemTags))
493Range = ProtocolConversions.TextSpanToRange(completionChangeSpan, documentText),
539Range = ProtocolConversions.TextSpanToRange(change.Span, sourceText),
591lspItem.Documentation = ProtocolConversions.GetDocumentationMarkupContent(
684Range = ProtocolConversions.TextSpanToRange(completionChangeSpan, documentText),