shift + enter to execute code in the REPL broken #16010
Labels
bug
Issue identified by VS Code Team member as probable bug
candidate
Issue identified as probable candidate for fixing in the next release
triage-needed
Issue needs to be triaged
Applies To
What happened?
Since the last update of vscode and the jupter extension,
shift+enter
keyboard bindings do no longer work as expected.When an interactive window is launched by executing some cells of some
script_with_cells.py
(on the side), pressingshift+enter
(*) to execute a command directly from the input box of the interactive window does not work.source
The Keyboard Shortcuts Troubleshooting suggests (logs below) this is due to
ms-toolsai.jupyter.runcurrentcelladvance
taking precedence over vscode'sinteractive.execute
.workaround
A workaround seem to be adding
activeEditor != 'workbench.editor.interactive'
to the "when" conditions ofruncurrentcelladvance
.setup
(*) I have "interactiveWindow.executeWithShiftEnter" set to true in vscode. All my
shift+enter
keybindings are set to the default and managed by (source) either: system, the python extension, or the jupyter/jupyter keymap extensions.VS Code Version
Version: 1.93.0 (user setup) Commit: 4849ca9bdf9666755eb463db297b69e5385090e3 Date: 2024-09-04T13:02:38.431Z Electron: 30.4.0 ElectronBuildId: 10073054 Chromium: 124.0.6367.243 Node.js: 20.15.1 V8: 12.4.254.20-electron.0 OS: Windows_NT x64 10.0.22631
Jupyter Extension Version
v2024.8.0
Jupyter logs
Coding Language and Runtime Version
Python 3.11.9
Language Extension Version (if applicable)
v2024.14.0
Anaconda Version (if applicable)
conda 23.7.4
Running Jupyter locally or remotely?
Remote
The text was updated successfully, but these errors were encountered: