mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-19 08:08:39 +01:00
Remove old notebook editor api proposal (#164504)
All consumers should now be on the finalized api Fixes #151661
This commit is contained in:
@@ -793,12 +793,8 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
onDidChangeNotebookEditorVisibleRanges(listener, thisArgs?, disposables?) {
|
||||
return extHostNotebookEditors.onDidChangeNotebookEditorVisibleRanges(listener, thisArgs, disposables);
|
||||
},
|
||||
showNotebookDocument(uriOrDocument, options?) {
|
||||
if (URI.isUri(uriOrDocument)) {
|
||||
extHostApiDeprecation.report('window.showNotebookDocument(uri)', extension,
|
||||
`Please use 'workspace.openNotebookDocument' and 'window.showNotebookDocument'`);
|
||||
}
|
||||
return extHostNotebook.showNotebookDocument(uriOrDocument, options);
|
||||
showNotebookDocument(document, options?) {
|
||||
return extHostNotebook.showNotebookDocument(document, options);
|
||||
},
|
||||
registerExternalUriOpener(id: string, opener: vscode.ExternalUriOpener, metadata: vscode.ExternalUriOpenerMetadata) {
|
||||
checkProposedApiEnabled(extension, 'externalUriOpener');
|
||||
|
||||
Reference in New Issue
Block a user