Move New Notebook command to core (#21247)

This commit is contained in:
Cory Rivera
2022-11-18 14:54:58 -08:00
committed by GitHub
parent 78b17bba82
commit 728a90cd53
11 changed files with 68 additions and 99 deletions

View File

@@ -906,7 +906,7 @@ export class JupyterServerInstallation implements IJupyterServerInstallation {
nbformat_minor: constants.NBFORMAT_MINOR
};
await vscode.commands.executeCommand('_notebook.command.new', {
await vscode.commands.executeCommand('notebook.command.new', {
initialContent: JSON.stringify(initialContent),
defaultKernel: 'Python 3'
});