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 stops working for me

See original GitHub issue

Bug: Notebook Editor, Interactive Window, Editor cells

Steps to cause the bug to occur

  1. select several lines that want to send to interactive window
  2. press ‘shift + enter’

Actual behavior

  1. no reaction
  2. works only when put the cursor at a single line

Expected behavior

  1. selected codes sent to interactive window and start processing

Your Jupyter and/or Python environment

Please provide as much info as you readily know

  • Jupyter server running: Local | Remote | N/A
  • Extension version: 2020.01.57204-xxx
  • VS Code version: 1.41.1
  • Setting python.jediEnabled: true | false
  • Python and/or Anaconda version: 3.7.5
  • OS: Windows | Mac | Linux (distro):
  • Virtual environment: conda | venv | virtualenv | N/A | …

{ "key": "shift+enter", "command": "python.datascience.runcurrentcelladvance", "when": "editorTextFocus && python.datascience.featureenabled && python.datascience.hascodecells && !editorHasSelection" }

{ "key": "shift+enter", "command": "python.datascience.execSelectionInteractive", "when": "editorTextFocus && python.datascience.featureenabled && python.datascience.ownsSelection && !findInputFocussed && !replaceInputFocussed && editorLangId == 'python'" }

"python.dataScience.sendSelectionToInteractiveWindow": true

"editor.codeLens": true

Also tried methods mentioned in: https://github.com/microsoft/vscode-python/issues/3397 https://github.com/microsoft/vscode-python/issues/5621 https://github.com/microsoft/vscode-python/issues/6578 and doesn’t work at all.

Developer Tools Console Output: nothing

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
MarekOzanacommented, Jan 14, 2020

Works great in 2020.1.58038 update. Thanks for fixing it.

0reactions
ateffalcommented, Jan 11, 2020

I have the same problem !

Read more comments on GitHub >

github_iconTop Results From Across the Web

shift+enter stops working for me · Issue #2479 - GitHub
Jupyter server running: Local | Remote | N/A · Extension version: 2020.01.57204-xxx · VS Code version: 1.41.1 · Setting python.jediEnabled: true | ...
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 >
Help: shift+enter doesn't give me any output suddenly!
I am a beginner. shift+enter doesn't give me any output at notebook suddenly! after I restart the program, it doesn't work either. thank...
Read more >
Shift-Enter shortcut stops working as soon as the Jupyter Tool ...
Shift -Enter shortcut stops working as soon as the Jupyter Tool window shows up.
Read more >
Ctrl+Shift+Enter not working on W10 anymore? : r/sysadmin
No, just ctrl+shift+left click. The middle click option does not work on Win11 anyway that I have tried (task bar, start menu, run...
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