We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5ae7bb commit c195156Copy full SHA for c195156
extensions/vscode-api-tests/src/singlefolder-tests/notebook.api.test.ts
@@ -244,7 +244,7 @@ const apiTestSerializer: vscode.NotebookSerializer = {
244
// no kernel -> no default language
245
assert.strictEqual(getFocusedCell(editor)?.document.languageId, 'typescript');
246
247
- await vscode.commands.executeCommand('vscode.openWith', notebook.uri, 'default');
+ await vscode.window.showNotebookDocument(await vscode.workspace.openNotebookDocument(notebook.uri));
248
assert.strictEqual(vscode.window.activeTextEditor?.document.uri.path, notebook.uri.path);
249
});
250
0 commit comments