vscode-copilot-release icon indicating copy to clipboard operation
vscode-copilot-release copied to clipboard

Apply fix adds ''' symbols as well

Open zamirov opened this issue 1 year ago • 2 comments

Type: Bug

Trying to fix json I used "Apply" but it added ``` symbols in the beginning.

Extension version: 0.20.1 VS Code version: Code 1.93.0 (4849ca9bdf9666755eb463db297b69e5385090e3, 2024-09-04T13:02:38.431Z) OS version: Windows_NT x64 10.0.22635 Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz (8 x 1498)
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
skia_graphite: 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) 15.72GB (1.53GB free)
Process Argv --crash-reporter-id 30f65a2b-8250-4e2c-a273-174a7d0f7668
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
bdiig495:31013172
a69g1124:31058053
dvdeprecation:31068756
dwnewjupyter:31046869
impr_priority:31102340
refactort:31108082
pythonrstrctxt:31112756
flightc:31134773
wkspc-onlycs-t:31132770
wkspc-ranged-c:31125598
cf971741:31134768
pme_test_t:31118333
ei213698:31121563

zamirov avatar Sep 18 '24 06:09 zamirov

Can you provide a small example with a code block and the file in the editor?

aeschli avatar Sep 18 '24 09:09 aeschli

Can you provide a small example with a code block and the file in the editor?

It's literally just a ``` at the end of the scripts or when you tell it to generate a whole script from a single page. Likely you guys are using the same model for the auto completions and the chat. It is just adding markdown ticks at the end. Sometimes it does it, sometimes it doesn't.

If you start a simple script and keep tab completing you will probably see it finally show up at the end.

Codie-Petersen avatar Sep 21 '24 18:09 Codie-Petersen

I can not reproduce this., maybe it go fixes with latest version of the Copilot Chat extension. If you still see it, can you provide reproducible steps with a code sample to start with. Until then I will go ahead and close this issue. Thank you for your understanding

aeschli avatar Dec 17 '24 15:12 aeschli

Can confirm this is still happening as of today:

See: #4368

Domush avatar Jan 26 '25 03:01 Domush