Class NormalizedTextDocuments<T>

Normalizing text document manager. Normalizes all incoming URIs to the same format used by VS Code.

Type Parameters

  • T extends {
        uri: string;
    }

Implements

Constructors

Accessors

Methods

  • Listens for low level notification on the given connection to update the text documents managed by this instance.

    Please note that the connection only provides handlers not an event model. Therefore listening on a connection will overwrite the following handlers on a connection: onDidOpenTextDocument, onDidChangeTextDocument, onDidCloseTextDocument, onWillSaveTextDocument, onWillSaveTextDocumentWaitUntil and onDidSaveTextDocument.

    Use the corresponding events on the TextDocuments instance instead.

    Parameters

    • connection: Connection

      The connection to listen on.

    Returns Disposable