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

Show the Interactive Window if code was added/executed from a python file #11138

Open
himoon opened this issue Jun 15, 2022 · 1 comment
Open
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug interactive-window Impacts interactive window

Comments

@himoon
Copy link

himoon commented Jun 15, 2022

Issue Type: Bug

  1. Set "Jupyter: Interactive Window Mode" to "perFile", "Interactive Window: Always scroll on new cell" to "True".

  2. Create a "hello.py" file with "print('hello')" code, then send this code to interactive window, new interactive window named "Interactive - hello.py" is created printing 'hello' string.

  3. Create another file named "world.py" with "print('world')" code, send this code to interactive window, then new interactive window named "Interactive - world.py" is created printing 'world' string. AT THE MOMENT THE ACTIVE FOCUS IS AT THE "Interactive - world.py" WINDOW.

  4. Activate first "hello.py" file, then send "print('hello')" code to interactive window again, then the FIRST INTERACTIVE WINDOW "Interactive - hello.py" SHOULD GET FOCUSED with the result. BUT this is not working.

Previous version of 1.63 has got this done perfectly, but from version of 1.64 to recent version(including insider version of 1.69) this feature has been failed.

Thanks for in advance for helping me with this issue.

VS Code version: Code 1.68.0 (Universal) (4af164ea3a06f701fe3e89a2bcbb421d2026b68f, 2022-06-08T11:44:00.250Z)
OS version: Darwin x64 21.5.0
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz (8 x 2500)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 2, 3, 3
Memory (System) 16.00GB (0.02GB free)
Process Argv --crash-reporter-id 74409725-6760-4ae5-83ac-fb0682775e87
Screen Reader no
VM 0%
Extensions (17)
Extension Author (truncated) Version
better-comments aar 3.0.0
gitlens eam 12.1.0
prettier-vscode esb 9.5.0
vscode-insertdatestring jsy 2.3.1
vscode-docker ms- 1.22.0
python ms- 2022.8.0
vscode-pylance ms- 2022.6.10
jupyter ms- 2022.5.1001601848
jupyter-keymap ms- 1.0.0
remote-containers ms- 0.238.2
remote-ssh ms- 0.82.1
remote-wsl ms- 0.66.3
vscode-remote-extensionpack ms- 0.21.0
autodocstring njp 0.6.1
material-icon-theme PKi 4.18.1
vscode-sort-json ric 1.20.0
json Zai 2.0.2
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
vscaat:30438848
vsclangdf:30486550

@rebornix rebornix added feature-request Request for new features or functionality interactive-window Impacts interactive window labels Jun 27, 2022
@vscodenpa
Copy link

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@amunger amunger added bug Issue identified by VS Code Team member as probable bug and removed feature-request Request for new features or functionality labels Aug 16, 2022
@amunger amunger transferred this issue from microsoft/vscode Aug 16, 2022
@amunger amunger assigned amunger and unassigned rebornix Aug 16, 2022
@github-actions github-actions bot added the triage-needed Issue needs to be triaged label Aug 16, 2022
@amunger amunger removed the triage-needed Issue needs to be triaged label Aug 16, 2022
@amunger amunger changed the title Always scroll on new cell feature for multiple interactive windows Show the Interactive Window if code was added/executed from a python file Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug interactive-window Impacts interactive window
Projects
None yet
Development

No branches or pull requests

6 participants