We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 975010e commit f001597Copy full SHA for f001597
1 file changed
package.json
@@ -1118,12 +1118,12 @@
1118
{
1119
"command": "python.execInREPL",
1120
"key": "shift+enter",
1121
- "when": "config.python.REPL.sendToNativeREPL && activeEditor != 'workbench.editor.interactive'"
+ "when": "config.python.REPL.sendToNativeREPL && activeEditor != 'workbench.editor.interactive'&& editorLangId == python && editorTextFocus && !jupyter.ownsSelection"
1122
},
1123
1124
"command": "python.execREPLShiftEnter",
1125
1126
- "when": "activeEditor == 'workbench.editor.interactive' && config.interactiveWindow.executeWithShiftEnter"
+ "when": "activeEditor == 'workbench.editor.interactive' && config.interactiveWindow.executeWithShiftEnter && editorLangId == python"
1127
1128
1129
"command": "python.execInREPLEnter",
0 commit comments