mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 01:29:04 +01:00
add vscode.notebooks.notebookDocuments-api, https://github.com/microsoft/vscode/issues/93265
This commit is contained in:
@@ -678,6 +678,10 @@ export class ExtHostNotebookController implements ExtHostNotebookShape, ExtHostN
|
||||
return this._activeNotebookEditor;
|
||||
}
|
||||
|
||||
get notebookDocuments() {
|
||||
return [...this._documents.values()];
|
||||
}
|
||||
|
||||
private _onDidOpenNotebookDocument = new Emitter<vscode.NotebookDocument>();
|
||||
onDidOpenNotebookDocument: Event<vscode.NotebookDocument> = this._onDidOpenNotebookDocument.event;
|
||||
private _onDidCloseNotebookDocument = new Emitter<vscode.NotebookDocument>();
|
||||
|
||||
Reference in New Issue
Block a user