Interface TextDocumentItem

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

interface TextDocumentItem {
    languageId: string;
    text: string;
    uri: string;
    version: number;
}

Properties

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).