Shift + Enter does not run a cell on native notebook
See original GitHub issueIt can run a cell in the terminal or do nothing.
Repro steps:
- Open notebook
- Create a new cell at the top
- Add code
- 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]
- XXX
Logs
Output for Jupyter
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Jupyter
)
XXX
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8 (4 by maintainers)
Top 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 >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
And this is not by design. It wasn’t a conscious choice.
We need to detect if shift-enter is being invoked in the context of a native notebook.