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 542ff38 commit 7889127Copy full SHA for 7889127
src/client/repl/replCommandHandler.ts
@@ -31,7 +31,11 @@ export async function openInteractiveREPL(
31
// Case where NotebookDocument doesnt exist, create a blank one.
32
notebookDocument = await workspace.openNotebookDocument('jupyter-notebook');
33
}
34
- const editor = window.showNotebookDocument(notebookDocument!, { viewColumn, asRepl: 'Python REPL' });
+ const editor = window.showNotebookDocument(notebookDocument!, {
35
+ viewColumn,
36
+ asRepl: 'Python REPL',
37
+ preserveFocus: true,
38
+ });
39
await commands.executeCommand('notebook.selectKernel', {
40
editor,
41
id: notebookController.id,
0 commit comments