Type: Bug
Under Visual Studio Code with the Python extension installed, I've noticed an interesting behavior. When I open a Python file (.py) and make modifications to it, then run it, VSCode automatically saves the changes before executing it. This ensures that the latest code modifications are taken into account during execution.
However, if I close this Python file without completely closing VSCode and then reopen it later using the "Recent Files" feature, I've observed that VSCode doesn't automatically save the file before executing it.
I need to manually save the file every time I make changes before running it.
https://youtu.be/2WZ_NBIPAyo
Extension version: 2023.19.12821010
VS Code version: Code 1.83.0 (e7e037083ff4455cf320e344325dacb480062c3c, 2023-10-03T16:12:15.742Z)
OS version: Windows_NT ia32 10.0.19042
Modes:
System Info
| Item |
Value |
| CPUs |
Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz (4 x 3293) |
| GPU Status |
2d_canvas: enabled canvas_oop_rasterization: enabled_on 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 video_decode: enabled video_encode: unavailable_off vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled |
| Load (avg) |
undefined |
| Memory (System) |
3.41GB (0.45GB free) |
| Process Argv |
|
| Screen Reader |
no |
| VM |
0% |
Type: Bug
Under Visual Studio Code with the Python extension installed, I've noticed an interesting behavior. When I open a Python file (.py) and make modifications to it, then run it, VSCode automatically saves the changes before executing it. This ensures that the latest code modifications are taken into account during execution.
However, if I close this Python file without completely closing VSCode and then reopen it later using the "Recent Files" feature, I've observed that VSCode doesn't automatically save the file before executing it.
I need to manually save the file every time I make changes before running it.
https://youtu.be/2WZ_NBIPAyo
Extension version: 2023.19.12821010
VS Code version: Code 1.83.0 (e7e037083ff4455cf320e344325dacb480062c3c, 2023-10-03T16:12:15.742Z)
OS version: Windows_NT ia32 10.0.19042
Modes:
System Info
canvas_oop_rasterization: enabled_on
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
video_decode: enabled
video_encode: unavailable_off
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled