Skip to content

TextDocumentItem

An item to transfer a text document from the client to the server.

languageId: string

The text document’s language identifier.


text: string

The content of the opened text document.


uri: string

The text document’s uri.


version: number

The version number of this document (it will increase after each change, including undo/redo).