9 references to TextDocumentItem
Microsoft.CodeAnalysis.LanguageServer.Protocol (9)
Handler\DocumentChanges\DidOpenHandler.cs (2)
21
internal class DidOpenHandler() : ILspServiceNotificationHandler<LSP.DidOpenTextDocumentParams>, ITextDocumentIdentifierHandler<LSP.DidOpenTextDocumentParams,
TextDocumentItem
>
26
public
TextDocumentItem
GetTextDocumentIdentifier(LSP.DidOpenTextDocumentParams request) => request.TextDocument;
Handler\RequestContextFactory.cs (2)
44
else if (textDocumentIdentifierHandler is ITextDocumentIdentifierHandler<TRequestParam,
TextDocumentItem
> uHandler)
46
var
textDocumentItem = uHandler.GetTextDocumentIdentifier(requestParam);
Protocol\DidOpenTextDocumentParams.cs (2)
18
/// Gets or sets the <see cref="
TextDocumentItem
"/> which represents the text document that was opened.
22
public
TextDocumentItem
TextDocument
Protocol\Extensions\VSGetProjectContextsParams.cs (1)
19
public
TextDocumentItem
TextDocument
Protocol\Notebook\DidOpenNotebookDocumentParams.cs (1)
30
public
TextDocumentItem
[] CellTextDocuments { get; init; }
Protocol\Notebook\NotebookDocumentChangeCellsStructure.cs (1)
30
public
TextDocumentItem
[]? DidOpen { get; init; }