Skip to content

Commit

Permalink
use new context key for both repl-type editors (#24131)
Browse files Browse the repository at this point in the history
both the repl editor and the IW can be accounted for with the new
compositeNotebook context key
  • Loading branch information
amunger committed Sep 19, 2024
1 parent 9a22fb4 commit 07a0755
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1151,12 +1151,12 @@
{
"command": "python.execSelectionInTerminal",
"key": "shift+enter",
"when": "editorTextFocus && editorLangId == python && !findInputFocussed && !replaceInputFocussed && !jupyter.ownsSelection && !notebookEditorFocused && activeEditor != 'workbench.editor.interactive'"
"when": "editorTextFocus && editorLangId == python && !findInputFocussed && !replaceInputFocussed && !jupyter.ownsSelection && !notebookEditorFocused && !isCompositeNotebook"
},
{
"command": "python.execInREPL",
"key": "shift+enter",
"when": "!accessibilityModeEnabled && config.python.REPL.sendToNativeREPL && activeEditor != 'workbench.editor.interactive'&& editorLangId == python && editorTextFocus && !jupyter.ownsSelection && !notebookEditorFocused"
"when": "!accessibilityModeEnabled && config.python.REPL.sendToNativeREPL && editorLangId == python && editorTextFocus && !jupyter.ownsSelection && !notebookEditorFocused && !isCompositeNotebook"
},
{
"command": "python.execInREPLEnter",
Expand Down

0 comments on commit 07a0755

Please sign in to comment.