5 references to TextDocument
Microsoft.CodeAnalysis.LanguageServer.Protocol (5)
Handler\DocumentChanges\DidOpenHandler.cs (5)
29
public Uri GetTextDocumentIdentifier(LSP.DidOpenTextDocumentParams request) => request.
TextDocument
.Uri;
34
context.TraceInformation($"didOpen for {request.
TextDocument
.Uri}");
39
var sourceText = SourceText.From(request.
TextDocument
.Text, System.Text.Encoding.UTF8, SourceHashAlgorithms.OpenDocumentChecksumAlgorithm);
41
await context.StartTrackingAsync(request.
TextDocument
.Uri, sourceText, request.
TextDocument
.LanguageId, cancellationToken).ConfigureAwait(false);