Skip to content

Commit f6d5986

Browse files
anthonykim1amunger
andauthored
Don't send to REPL from a notebook editor
fix #23555 Co-authored-by: Aaron Munger <[email protected]>
1 parent a4219ae commit f6d5986

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,7 @@
11181118
{
11191119
"command": "python.execInREPL",
11201120
"key": "shift+enter",
1121-
"when": "config.python.REPL.sendToNativeREPL && activeEditor != 'workbench.editor.interactive'&& editorLangId == python && editorTextFocus && !jupyter.ownsSelection"
1121+
"when": "config.python.REPL.sendToNativeREPL && activeEditor != 'workbench.editor.interactive'&& editorLangId == python && editorTextFocus && !jupyter.ownsSelection && !notebookEditorFocused"
11221122
},
11231123
{
11241124
"command": "python.execInREPLEnter",

0 commit comments

Comments
 (0)