# Bug: Notebook Editor, Interactive Window, Editor cells <!----------------------------------------------------------------------------------------------- ***PLEASE READ*** If this issue doesn't relate to Jupyter Notebooks, Python Interactive Window features or other notebook or "cell"-based features of the Python extension, please use the main Python bug template instead of this one. ***Thank you!*** -------------------------------------------------------------------------------------------------> ## 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](url) [https://github.com/microsoft/vscode-python/issues/5621](url) [https://github.com/microsoft/vscode-python/issues/6578](url) and doesn't work at all. ## Developer Tools Console Output: nothing <!----------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------> Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer
Activity
albimaths commentedon Jan 8, 2020
Same problem here
Random-Forest-42 commentedon Jan 8, 2020
I'm having this problem as well. Installing an older version of the extension fixed it.
ling910520 commentedon Jan 8, 2020
seems to only work on last lines of codes in the editor
xzjsliran commentedon Jan 8, 2020
Thanks, it seems the only way to solve it.
MarekOzana commentedon Jan 8, 2020
I have the same issue. It worked before 2020.1.57204 update
rchiodo commentedon Jan 8, 2020
Thanks, I'm able to repro here at Microsoft. Hopefully we can fix this soon.
rchiodo commentedon Jan 8, 2020
This looks to be a side effect of the 'conda run' change.
rchiodo commentedon Jan 8, 2020
Any code with a '\n' inside of it isn't getting through because the 'conda run' change added an extra layer of indirection to executing something.
xzjsliran commentedon Jan 8, 2020
Thank you. Maybe the issue could be closed. Will this problem be fixed soon?
rchiodo commentedon Jan 8, 2020
Should be fixed soon.
rchiodo commentedon Jan 8, 2020
Reopening, hasn't shipped yet.
ateffal commentedon Jan 11, 2020
I have the same problem !
MarekOzana commentedon Jan 14, 2020
Works great in 2020.1.58038 update. Thanks for fixing it.