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.

Shift + Enter does not run a cell on native notebook

See original GitHub issue

It can run a cell in the terminal or do nothing.

Repro steps:

  1. Open notebook
  2. Create a new cell at the top
  3. Add code
  4. Hit shift ENTER

Expected behaviour

Cell executes

Actual behaviour

Nothing or it executes the cell in the terminal (cause python extension gets the shift+enter)

Steps to reproduce:

[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

  1. XXX

Logs

Output for Jupyter in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Jupyter)

XXX

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
rchiodocommented, Nov 17, 2020

And this is not by design. It wasn’t a conscious choice.

0reactions
greazercommented, Nov 19, 2020

We need to detect if shift-enter is being invoked in the context of a native notebook.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Shift-Enter shortcut stops working as soon as the Jupyter Tool ...
I have been able to use the Shift-ENTER key for a few days and then after the last IDE hung now it suddenly...
Read more >
How do I enable autocomplete in Jupyter Notebook while still ...
This is frustrating because my default commands to run a cell are shift-enter and command-enter. Is there a way to make autocomplete not...
Read more >
Jupyter Notebooks - Python Like You Mean It
A Jupyter notebook is similar to the IPython console, but, instead of only being ... execute current cell and then create a new...
Read more >
The Jupyter Notebook Interface
To run the Python code in a code cell push the [Run] button or type [Shift]+[Enter]. Hitting [Enter] when the cursor is inside...
Read more >
12 Jupyter Notebook Extensions That Will Make Your Life Easier
Click on it or use the shortcut Ctrl-B to open a scratchpad. There you can execute code by using Shift-Enter or any other...
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