question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Preview Notebook does not auto-advance cells with 'Shift' + 'Enter'

See original GitHub issue

Bug: Notebook Editor, Interactive Window, Editor cells

Steps to cause the bug to occur

  1. Right click on the .ipynb file you would like to open and select “Open in preview Notebook Editor”.
  2. Click first cell
  3. 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:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
IanMatthewHuffcommented, Sep 23, 2020

@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.

0reactions
IanMatthewHuffcommented, Sep 24, 2020

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found