Finalize onWillSaveNotebookDocument (#179188)

This commit is contained in:
Peng Lyu
2023-04-04 19:01:53 -07:00
committed by GitHub
parent eb5da3af19
commit f7d1b7c8fb
4 changed files with 70 additions and 81 deletions

View File

@@ -957,7 +957,6 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
return extHostNotebookDocuments.onDidChangeNotebookDocument(listener, thisArg, disposables);
},
onWillSaveNotebookDocument(listener, thisArg, disposables) {
checkProposedApiEnabled(extension, 'notebookDocumentWillSave');
return extHostNotebookDocumentSaveParticipant.getOnWillSaveNotebookDocumentEvent(extension)(listener, thisArg, disposables);
},
get onDidOpenNotebookDocument(): Event<vscode.NotebookDocument> {