Preview Notebook does not auto-advance cells with 'Shift' + 'Enter'
See original GitHub issueBug: Notebook Editor, Interactive Window, Editor cells
Steps to cause the bug to occur
- Right click on the .ipynb file you would like to open and select “Open in preview Notebook Editor”.
- Click first cell
- Press
Shift
+Enter
Actual behavior
Cell executes code but control remains in that cell without automatically advancing to next cell.
Expected behavior
The cell should execute its code and automatically advance to next cell.
Your Jupyter and/or Python environment
Please provide as much info as you readily know
- Jupyter server running: Local
- Extension version: 20YY.MM.#####-xxx
- VS Code version: 1.50.0-insider
- Setting python.jediEnabled: true | false
- Setting python.languageServer: Jedi | Microsoft | None
- Python and/or Anaconda version: #.#.#
- OS: Windows | Mac | Linux (distro):
- Virtual environment: conda | venv | virtualenv | N/A | …
Python Output
Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer, @joyceerhl
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
notebook 4.1rc1: SHIFT-ENTER not advancing to next cell #887
When executing a notebook interactively cell by cell I use SHIFT+ENTER and ALT+ENTER. Sometimes the SHIFT+ENTER shortcut starts behaving as CTRL ...
Read more >PyCharm - Run and debug Jupyter notebook code cells
To execute all code cells in your notebook, click Run all on the notebook toolbar or press Ctrl+Alt+Shift+Enter .
Read more >python Shift + enter not working in VScode with jupyter
In settings.json under .vscode add the following line: "jupyter.sendSelectionToInteractiveWindow": true. Then Shift+Enter should work.
Read more >Getting started with notebooks in AWS Glue Studio
On Windows, Shift + Enter to run the cell. For information about writing code using a Jupyter notebook interface, see The Jupyter Notebook...
Read more >VS Code: Shift+Enter does not send code to Python Interactive
Shift + Enter is registered as a keyboard shortcut for both sending code to Terminal and for sending it to Python Interactive. I...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@cpoptic I just took a look at this on our most recent bits which will be releasing very soon and the issue looks to be resolve. So as soon as that release take a peek and see if the issue is resolved for you as well.
@cpoptic . Thanks for checking this out on the new version. Would you mind splitting out these two new issues into new issue in GitHub? If they get added on as a comment on an existing issue (the initial auto-advance issue) they can sometimes get lost in the shuffle and ignored.
The first issue actually looks like it would be owned by vscode as they own the basic notebook UI, so that would be filed here: https://github.com/microsoft/vscode/issues
Second one (the executing spinner) would be filed here in the vscode-python repo.