You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While browsing .py in editor, hitting shift+enter should execute the line in the terminal and show results immediately.
Steps to reproduce:
Create empty .py file
Write a code
Hit Shift + enter
Line of code and execution result should be visible on the terminal
It was actually ran, and visible only after interacting with the interpreter.
Untitled.mov
Diagnostic data
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
XXX
Extension version: 2025.20.1
VS Code version: Code 1.107.1 (994fd12f8d3a5aa16f17d42c041e5809167e845a, 2025-12-17T14:15:14.850Z)
OS version: Darwin arm64 25.2.0
Modes:
Remote OS version: Linux x64 3.10.0-1160.2.1.el7.x86_64
Python version (& distribution if applicable, e.g. Anaconda): 3.13.11
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Venv
Value of the python.languageServer setting: Default
Type: Bug
Behaviour
While browsing .py in editor, hitting shift+enter should execute the line in the terminal and show results immediately.
Steps to reproduce:
It was actually ran, and visible only after interacting with the interpreter.
Untitled.mov
Diagnostic data
Output for
Pythonin theOutputpanel (View→Output, change the drop-down the upper-right of theOutputpanel toPython)Extension version: 2025.20.1
VS Code version: Code 1.107.1 (994fd12f8d3a5aa16f17d42c041e5809167e845a, 2025-12-17T14:15:14.850Z)
OS version: Darwin arm64 25.2.0
Modes:
Remote OS version: Linux x64 3.10.0-1160.2.1.el7.x86_64
python.languageServersetting: DefaultUser Settings
Installed Extensions
System Info
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: enabled_on
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments