ReadonlyonAn event that fires when a text document managed by this manager has been opened or the content changes.
ReadonlyonAn event that fires when a text document managed by this manager has been closed.
ReadonlyonAn event that fires when a text document managed by this manager has been opened.
ReadonlyonAn event that fires when a text document managed by this manager has been saved.
ReadonlyonAn event that fires when a text document managed by this manager will be saved.
Returns the URIs of all text documents managed by this instance.
the URI's of all text documents.
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.
The connection to listen on.
Sets the text document managed by this instance.
The text document to add.
true if the document didn't exist yet, false if it was already present.
A manager service that keeps track of all currently opened text documents.
Designed to be compatible with the
TextDocumentsclass in thevscode-languageserverpackage.