You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default keybinding for executing the input of the interactive window has been switched from shift+enter to just enter to match up better with typical REPL behavior. To minimize the impact of this behavior, we have increased the visibility of the execution hint in the input box and also added a button to quickly configure that setting.
The gear icon toolbar is planned to be a temporary addition for this migration.
A setting is ideal for configuring this behavior since both python and core contribute a keybinding, and both respect this setting
Pre-requisites - If you don't have python set up to run notebooks
Install both jupyter and python pre-release extensions
ensure python is installed on your machine
open a workspace where you will be running tests for this TPI
Create: new jupyter notebook and run print(1) in a cell.
a. If the cell runs successfully, you're already set up, otherwise...
The kernel picker should open, select "Python Environments..." -> "Create Python Environment..." -> select venv or conda, and whichever version you'd like.
A virtual environment should get created in your workspace with all necessary packages installed, and the cell should run successfully.
Test steps
run the command Jupyter: Create Interactive Window
note the execution hint in the input box, and use the stated keyboard shortcut to execute a command, e.g. print(1)
when the input is empty, click the gear to open the related settings, and swap the setting to change the keybinding
ensure that the hint is updated and that the new keyboard shortcut works to execute
The text was updated successfully, but these errors were encountered:
Refs: #213858
Complexity: 3
Create Issue
Description
The default keybinding for executing the input of the interactive window has been switched from
shift+enter
to justenter
to match up better with typical REPL behavior. To minimize the impact of this behavior, we have increased the visibility of the execution hint in the input box and also added a button to quickly configure that setting.Pre-requisites - If you don't have python set up to run notebooks
Create: new jupyter notebook
and runprint(1)
in a cell.a. If the cell runs successfully, you're already set up, otherwise...
A virtual environment should get created in your workspace with all necessary packages installed, and the cell should run successfully.
Test steps
Jupyter: Create Interactive Window
print(1)
The text was updated successfully, but these errors were encountered: