Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copilot suggests code that it doesn't use in its own example #1642

Open
matrs opened this issue Sep 25, 2024 · 2 comments
Open

Copilot suggests code that it doesn't use in its own example #1642

matrs opened this issue Sep 25, 2024 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug
Milestone

Comments

@matrs
Copy link

matrs commented Sep 25, 2024

Type: Bug

It explains the problem, define two function that will help to solve the probem and don't use them, altough everytime it defines them, everytime it doesn't use them in its own final suggestion

Extension version: 0.20.3
VS Code version: Code 1.93.1 (38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40, 2024-09-11T17:20:05.685Z)
OS version: Linux x64 6.6.47-1-MANJARO
Modes:

System Info
Item Value
CPUs AMD Ryzen 7 PRO 3700U w/ Radeon Vega Mobile Gfx (8 x 3090)
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: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off
Load (avg) 1, 1, 1
Memory (System) 13.57GB (5.84GB free)
Process Argv . --crash-reporter-id d62bacad-bbd4-4e3d-befc-1e92125f97da
Screen Reader no
VM 0%
DESKTOP_SESSION plasma
XDG_CURRENT_DESKTOP KDE
XDG_SESSION_DESKTOP KDE
XDG_SESSION_TYPE x11
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyonecf:30548226
vscrp:30673768
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
f3je6385:31013174
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
2f103344:31071589
impr_priority:31102340
nativerepl1:31139838
refactort:31108082
pythonrstrctxt:31112756
flightc:31134773
wkspc-onlycs-t:31132770
wkspc-ranged-t:31125599
cf971741:31144450
pme_test_c:31118331
fje88620:31121564
iacca1:31144502

@github-actions github-actions bot added the triage-needed Issues needing to be assigned to the prospective feature owner label Sep 25, 2024
@lramos15
Copy link
Member

lramos15 commented Oct 4, 2024

Is there any way you could provide an example so we can work to improve this scenario?

@lramos15 lramos15 assigned lramos15 and digitarald and unassigned jrieken Oct 4, 2024
@lramos15 lramos15 added info-needed Issue requires more information from poster and removed triage-needed Issues needing to be assigned to the prospective feature owner labels Oct 4, 2024
@matrs
Copy link
Author

matrs commented Oct 4, 2024

Sorry, I created this issue directly from the chat extension in vscode (it was a new option), at the moment I created it I didn't know that it will create an issue in github, i though it will be an internal microsoft/github thing. It would be nice that when creating issues this way, the chat from where the issue was created, could append the relevant data ( maybe after asking the user).

@matrs matrs changed the title suggest code that doesn't use in it wn example suggest code that doesn't use in its own example Oct 4, 2024
@vs-code-engineering vs-code-engineering bot removed the info-needed Issue requires more information from poster label Oct 4, 2024
@lramos15 lramos15 assigned justschen and unassigned digitarald and lramos15 Oct 8, 2024
@rzhao271 rzhao271 added the bug Issue identified by VS Code Team member as probable bug label Dec 11, 2024
@rzhao271 rzhao271 added this to the Backlog milestone Dec 11, 2024
@rzhao271 rzhao271 changed the title suggest code that doesn't use in its own example Copilot suggests code that it doesn't use in its own example Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

6 participants