-
Notifications
You must be signed in to change notification settings - Fork 29.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test built-in interactive window #127378
Labels
Milestone
Comments
This was referenced Jun 29, 2021
This was referenced Jun 30, 2021
This was referenced Jun 30, 2021
Up and down arrows are going to beginning or end of the line first before navigating history
#127709
Closed
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Refs: #126415
Complexity: 4
Authors: @rebornix, @joyceerhl
Create Issue
Setup
(Jupyter extension will auto-publish its endgame insiders build at ~2.30am PST daily, i.e. around noon in Zurich. Any Zurich-based team members should hold off on going through this test plan item before noon)
ipykernel
andnbconvert
, installed) Runpython -m pip install ipykernel nbconvert
(dependency for starting Python Jupyter kernels)"python.languageServer": "Pylance"
)"jupyter.enableNativeInteractiveWindow": true
and ensure that you don't have"jupyter.experiments.enable": false
or"jupyter.experiments.optOutFrom": ["All"]
. You may need to reload VS Code for the settings to take effect if the Jupyter extension has activated at this pointSummary
The interactive window is an existing feature in the Jupyter extension which acts as a readonly debug console / REPL with support for executing code and markdown cells and rendering rich MIME outputs, backed by a Jupyter kernel. Unlike Jupyter notebooks, the interactive window does not support out of order execution of cells.
In this iteration we worked on porting the interactive window to use a new UI provided by VS Code core. The purpose of this test plan item is to ensure that the majority of functionality in the interactive window continues to work after the port and to get feedback on the experience we have implemented so far.
Known issues
What we're trying to verify
NB: Please file all bugs found when testing the following behaviors on https://github.com/microsoft/vscode-jupyter. Please feel free to file issues with any suggestions you have for how we can make the interactive window more useful as well. Thank you 😊
Interactive window creation
foo = 42
shift+enter
keybinding, to run the current cell in the interactive window#%% [markdown]
to create a markdown cell in the Python script, IPython script-style. The contents of the #%% cell are regular markdown syntax where each line is prefixed with a#
. These cells can be executed in the interactive window in the same wayInput editor
shift+enter
orctrl+enter
to run code against the currently selected Python kernel. You should have syntax highlighting for the code you're writing in the input editor as wellimport numpy as np
-->np.
should bring up allnumpy
module methodsinteractive.execute
keybinding e.g. to bind it toEnter
like in the debug REPL Ability to change default "shift-enter" to "enter" when running code in Interactive Window vscode-jupyter#4073Global toolbar
Miscellaneous
Other notes
The text was updated successfully, but these errors were encountered: