Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run code on specify interactive window #7249

Closed
FisherBao opened this issue Aug 24, 2021 · 4 comments · Fixed by #7596
Closed

run code on specify interactive window #7249

FisherBao opened this issue Aug 24, 2021 · 4 comments · Fixed by #7596
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug interactive-window Impacts interactive window verified Verification succeeded

Comments

@FisherBao
Copy link

On the old version, I can select the interactive window to run the python code, interactive 1 or interactive 2 or 3 etc. But it looks don't support this on newest version. I update the juypter extention to newest version today. The code only can run on the lastest create interactive window.

I don't know how to set this like the old version.

@IanMatthewHuff
Copy link
Member

@FisherBao does changing the "Jupyter: Interactive Window Mode" setting get you the result that you are looking for here?

@IanMatthewHuff IanMatthewHuff added info-needed Issue requires more information from poster interactive-window Impacts interactive window labels Aug 24, 2021
@FisherBao
Copy link
Author

@IanMatthewHuff
I select the mode - multiple, it doesn't work.
But it is ok in the version before v2021.8.1054968649(include this version), and from version v2021.8.1195043623, this don't work.
It always jump to the lastest create interactive window.
image

@joyceerhl
Copy link
Contributor

Sorry about the inconvenience. Would you mind providing the specific steps that you are taking to create multiple interactive windows and then submit code? e.g. do you have multiple script files, are you creating interactive windows from the command palette as well as a script file?

@greazer greazer added bug Issue identified by VS Code Team member as probable bug regression and removed enhancement labels Aug 26, 2021
@greazer greazer added this to the September 2021 milestone Aug 26, 2021
@elazarcoh
Copy link

elazarcoh commented Sep 19, 2021

Hi,
I'm having the same issue. I see you already added it to September milestone.
Just to make sure it captures my usage as well:

Steps to reproduce:

  1. create python file with cells
    # %%
    x = 1
    # %%
    print(x)
  2. run the first cell with shift+enter
  3. open command palette with F1 and execute Jupyter: Create Interactive Window
    • it opens a new inteactive window: Interactive-2
  4. manually select Interactive-1 tab
  5. run the second cell

it runs the cell in Interactive-2 instead of Interactive-1

@greazer greazer removed the info-needed Issue requires more information from poster label Sep 20, 2021
@greazer greazer modified the milestones: September 2021, October 2021 Sep 20, 2021
@DonJayamanne DonJayamanne added the verified Verification succeeded label Sep 28, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug interactive-window Impacts interactive window verified Verification succeeded
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants