6 references to AnnotatedTextEdit
Microsoft.CodeAnalysis.LanguageServer.Protocol (6)
Extensions\ProtocolConversions.cs (1)
432
var documentEdits = uriToTextEdits.GroupBy(uriAndEdit => uriAndEdit.Uri, uriAndEdit => new LSP.SumType<LSP.TextEdit, LSP.
AnnotatedTextEdit
>(uriAndEdit.TextEdit), (uri, edits) => new LSP.TextDocumentEdit
Handler\CodeActions\CodeActionResolveHelper.cs (1)
289
var edits = textChanges.Select(tc => new LSP.SumType<LSP.TextEdit, LSP.
AnnotatedTextEdit
>(ProtocolConversions.TextChangeToTextEdit(tc, oldText))).ToArray();
Handler\MapCode\MapCodeHandler.cs (1)
68
Edits = kvp.Value.Select(v => new SumType<LSP.TextEdit, LSP.
AnnotatedTextEdit
>(v)).ToArray(),
Protocol\TextDocumentEdit.cs (2)
32
/// Use of <see cref="
AnnotatedTextEdit
"/> is guarded by the capability <see cref="WorkspaceEditSetting.ChangeAnnotationSupport"/>.
39
public SumType<TextEdit,
AnnotatedTextEdit
>[] Edits { get; set; }
Protocol\WorkspaceEdit.cs (1)
45
/// A map of change annotations that can be referenced in <see cref="
AnnotatedTextEdit
"/>s or create, rename