mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 00:28:52 +01:00
Fix deprecation message (#156008)
This commit is contained in:
@@ -784,7 +784,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
showNotebookDocument(uriOrDocument, options?) {
|
||||
if (URI.isUri(uriOrDocument)) {
|
||||
extHostApiDeprecation.report('window.showNotebookDocument(uri)', extension,
|
||||
`Please use 'window.openNotebookDocument' and 'window.showTextDocument'`);
|
||||
`Please use 'workspace.openNotebookDocument' and 'window.showNotebookDocument'`);
|
||||
}
|
||||
return extHostNotebook.showNotebookDocument(uriOrDocument, options);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user