Regression in sendToRepl - incorrectly passes selected text to repl #24064
Labels
bug
Issue identified by VS Code Team member as probable bug
triage-needed
Needs assignment to the proper sub-team
Type: Bug
Behaviour
With Python extension version
v2024.12.3
I am able to select the block and send the below snippet to the repl successfully. With versionv2024.14.0
the same process adds some newlines and incorrectly splits the class and I receive many IndentationError errors in the repl.I have
python.REPL.enableREPLSmartSend
set tofalse
, but setting it back totrue
has the same effect, with or without the text selected.Steps to reproduce:
v2024.14.0
Extension version: 2024.14.0
VS Code version: Code 1.93.0 (Universal) (4849ca9bdf9666755eb463db297b69e5385090e3, 2024-09-04T13:02:38.431Z)
OS version: Darwin arm64 23.6.0
Modes:
python.languageServer
setting: PylanceUser Settings
Installed Extensions
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
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: