Generated text is sometimes copyable and sometimes not
Type: Bug
I'm asking the chat to generate parts of an MD file. Some of the output is copyable but then it starts putting some of the MD in non copyable parts of the output.
Extension version: 0.27.2025040901 VS Code version: Code - Insiders 1.100.0-insider (7dbf25d8427b59f519d04587e71a9d3dfb77224c, 2025-04-10T05:04:51.401Z) OS version: Windows_NT x64 10.0.26100 Modes:
Logs
Debug: [LanguageModelAccess] DID UPDATE language models Trace: Built intent detector Info: message 0 returned. finish reason: [stop] Info: request done: requestId: [0c207a5e-2d09-4ab3-965e-aa9aa1c5d9b6] model deployment ID: [] Trace: Resolving chat model Trace: Resolved chat model Trace: [panel] chat request received from extension host Trace: Processing intent Trace: Resolving chat model Trace: Resolving chat model Trace: Resolved chat model Trace: Resolved chat model Trace: Processed intent Trace: Resolving chat model Trace: Resolved chat model Trace: Built prompt Trace: Sending prompt to model Debug: [context keys] Window state change. Needs offline check: false, active: true, focused: false. Debug: [context keys] Window state change. Needs offline check: false, active: false, focused: false. Info: message 0 returned. finish reason: [stop] Info: request done: requestId: [b10e2975-a3dd-4b99-b83c-838947739448] model deployment ID: [] Debug: [context keys] Window state change. Needs offline check: false, active: false, focused: true. Debug: [context keys] Window state change. Needs offline check: false, active: true, focused: true. Trace: Resolving chat model Trace: Resolved chat model Trace: Building intent detector Trace: Resolving chat model Trace: Resolved chat model Trace: Built intent detector Info: message 0 returned. finish reason: [stop] Info: request done: requestId: [29d738c6-84ee-467c-9279-b4b587f68236] model deployment ID: [] Trace: Resolving chat model Trace: Resolved chat model Trace: [panel] chat request received from extension host Trace: Processing intent Trace: Resolving chat model Trace: Resolving chat model Trace: Resolved chat model Trace: Resolved chat model Trace: Processed intent Trace: Resolving chat model Trace: Resolved chat model Trace: Built prompt Trace: Sending prompt to model Debug: [context keys] Window state change. Needs offline check: false, active: true, focused: false. Debug: [context keys] Window state change. Needs offline check: false, active: true, focused: true. Debug: [context keys] Window state change. Needs offline check: false, active: false, focused: true. Debug: [context keys] Window state change. Needs offline check: false, active: true, focused: true. Debug: [context keys] Window state change. Needs offline check: false, active: true, focused: false. Debug: [context keys] Window state change. Needs offline check: false, active: true, focused: true.
System Info
| Item | Value |
|---|---|
| CPUs | AMD EPYC 7763 64-Core Processor (16 x 2445) |
| GPU Status | 2d_canvas: unavailable_software canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: disabled_software multiple_raster_threads: enabled_on opengl: disabled_off rasterization: disabled_software raw_draw: disabled_off_ok skia_graphite: disabled_off video_decode: disabled_software video_encode: disabled_software vulkan: disabled_off webgl: unavailable_software webgl2: unavailable_software webgpu: unavailable_software webnn: unavailable_software |
| Load (avg) | undefined |
| Memory (System) | 63.95GB (39.11GB free) |
| Process Argv | . --enable-proposed-api msft-1es.es-chat --crash-reporter-id fb5f004c-0c45-4402-af67-bb66466f13d8 |
| Screen Reader | no |
| VM | 0% |
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vsc_aacf:30263846
pythonvspyt551:31249597
vscod805:30301674
14424t2-chatv7:31279524
c4g48928:30535728
a9j8j154:30646983
962ge761:30841072
f8hc8238:30694864
dsvsc014:30777825
dsvsc015:30821418
h48ei257:31000450
pythontbext0:30879054
cppperfnew:30980852
dwnewjupytercf:31046870
pythonrstrctxt:31093868
nativeloc1:31118317
e80f6927:31120813
dwcopilot:31158714
c3hdf307:31184662
471b6256:31240254
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
hdaa2157:31222309
copilot_t_ci:31222730
g012b348:31231168
cp15370_c:31280196
copilothoveron:31262361
pythoneinst12:31251391
treesitterini:31278752
bgtreat:31252123
c7cif404:31281427
31787653:31262186
3e8i5726:31271747
pythonpulldiagcf:31258011
6gi0g917:31259950
editoredits36407:31282444
996jf627:31264550
pythonrdcb7:31268811
gh9da704:31280609
747dc170:31275146
g20af354:31278749
pylancecolorcf:31281600
generatesymbolt:31280541
convertfstringf:31280702
gendocf:31280703
/gifPlease
Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.
Happy coding!
Sorry this was almost a month ago. I don't have a repro anymore. If memory serves me correctly, it was giving me the markdown but then some of the markdown went outside of the box for copying:
So if that happened here, some of the markdown would be plain text at the bottom: