File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1118
1118
{
1119
1119
"command" : " python.execInREPL" ,
1120
1120
"key" : " shift+enter" ,
1121
- "when" : " config.python.REPL.sendToNativeREPL && activeEditor != 'workbench.editor.interactive'"
1121
+ "when" : " config.python.REPL.sendToNativeREPL && activeEditor != 'workbench.editor.interactive'&& editorLangId == python && editorTextFocus && !jupyter.ownsSelection "
1122
1122
},
1123
1123
{
1124
1124
"command" : " python.execREPLShiftEnter" ,
1125
1125
"key" : " shift+enter" ,
1126
- "when" : " activeEditor == 'workbench.editor.interactive' && config.interactiveWindow.executeWithShiftEnter"
1126
+ "when" : " activeEditor == 'workbench.editor.interactive' && config.interactiveWindow.executeWithShiftEnter && editorLangId == python "
1127
1127
},
1128
1128
{
1129
1129
"command" : " python.execInREPLEnter" ,
You can’t perform that action at this time.
0 commit comments