Bug: VS Code Extension Refactors Code Incorrectly

by Viktoria Ivanova 50 views

Category: microsoft,vscode

Type: Bug

Guys, I'm facing a really frustrating issue with this extension. Despite giving explicit instructions, it keeps refactoring my code in ways I absolutely don't want. It even deletes whole sections and "adds" code that's nowhere near what I asked for. Seriously, I'm not a programming guru, but I shouldn't feel like I'm battling the tool instead of getting help. It's like I'm stuck using a wonky GPT 4.1 that's actively doing the opposite of what I tell it.

Here are the details:

  • Extension version: 0.30.0
  • VS Code version: Code 1.103.0 (e3550cfac4b63ca4eafca7b601f0d2885817fd1f, 2025-08-06T21:40:10.271Z)
  • OS version: Windows_NT x64 10.0.26100
  • Modes:
System Info
Item Value
CPUs AMD Ryzen 5 4500 6-Core Processor (12 x 3593)
GPU Status 2d_canvas: enabled
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
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 31.87GB (17.04GB free)
Process Argv --crash-reporter-id 5a137cb5-b8bf-43ae-bd0a-6c7089009605
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythoneinst12:31285622
c7cif404:31314491
996jf627:31283433
pythonrdcb7:31342333
usemplatestapi:31297334
0aa6g176:31307128
747dc170:31275177
aj953862:31281341
pylancequickfixf:31358881
9d2cg352:31346308
convertlamdaf:31358879
usemarketplace:31343026
nesew2to5:31336538
agentclaude:31335814
replacestringexc:31350595
nes-set-on:31340697
testaa123:31335226
63221493:31336333
yijiwantestdri0626-t:31336930
0927b901:31350571
4gdec884:31348710
45650338:31358607
0cj2b977:31352657
0574c672:31362109
asdad:31365766
gemagent1cf:31363461