Skip to content

shift+enter stops working for me #2479

@xzjsliran

Description

@xzjsliran

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions