microsoft / vscode-copilot-release

Feedback on GitHub Copilot Chat UX in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat
Creative Commons Attribution 4.0 International
328 stars 31 forks source link

Cant share codes with github copilot #929

Closed scallop123 closed 7 months ago

scallop123 commented 8 months ago

Type: Bug

I am facing difficluty sharing codes with github copilot. Whenever i highlight codes from the main panel, i used to be able to chat with github copilot, reffering to the highlighted codes and github copilot could acces the codes for comments. Now, I can't do that anymore. Every single time i highlight codes, then continued conversation with github copilot while referring to those codes, the reference link to those codes suddently dissapeared from the github copilot chat message box, making github copilot not able to read those codes and prompt error that no codes was shared. How to resolve this critical issue?

VS Code version: Code 1.86.2 (903b1e9d8990623e3d7da1df3d33db3e42d80eda, 2024-02-13T19:40:56.878Z) OS version: Windows_NT x64 10.0.19045 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Pentium(R) CPU G4400 @ 3.30GHz (2 x 3312)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: disabled_off
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| |Load (avg)|undefined| |Memory (System)|3.91GB (0.40GB free)| |Process Argv|--crash-reporter-id ed3b0e12-8c43-4f71-8cd3-188b12ce4d9e| |Screen Reader|no| |VM|0%|
Extensions (35) Extension|Author (truncated)|Version ---|---|--- vscode-eslint|dba|2.4.4 gitlens|eam|2024.2.1704 prettier-vscode|esb|10.1.0 chatgpt-vscode|gen|0.0.10 copilot|Git|1.162.0 copilot-chat|Git|0.12.2 vscode-pull-request-github|Git|0.80.1 vscode-docker|ms-|1.29.0 vscode-dotnet-runtime|ms-|2.0.1 vscode-edge-devtools|ms-|2.1.4 debugpy|ms-|2024.0.0 python|ms-|2024.0.1 vscode-pylance|ms-|2024.2.2 jupyter|ms-|2024.1.1 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.17 vscode-jupyter-cell-tags|ms-|0.1.8 vscode-jupyter-slideshow|ms-|0.1.5 cpptools|ms-|1.18.5 vsliveshare|ms-|1.0.5905 vetur|oct|0.37.3 gpt-pilot-vs-code|pyt|0.0.43 vscode-phpunit|rec|3.2.2 java|red|1.28.1 vscode-phpsab|val|0.0.16 intellicode-api-usage-examples|Vis|0.2.8 vscodeintellicode|Vis|1.2.30 vscode-java-debug|vsc|0.56.0 vscode-java-dependency|vsc|0.23.4 vscode-java-pack|vsc|0.25.15 vscode-java-test|vsc|0.40.1 vscode-maven|vsc|0.44.0 codetour|vsl|0.0.59 php-debug|xde|1.34.0 php-pack|xde|1.0.3
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492:30256859 vscod805cf:30301675 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:30899288 vscaat:30438848 c4g48928:30535728 azure-dev_surveyone:30548225 2i9eh265:30646982 962ge761:30959799 pythongtdpath:30769146 welcomedialogc:30910334 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 pythontbext0:30879054 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 fegfb526:30961430 3ef8e399:30964150 e3gdj431:30958358 ccp1r6:30958156 ```
roblourens commented 7 months ago

If you are still seeing this with the latest versions of vscode and the extension, please share a specific example with a screenshot. If the selection is very large, it may not actually get used.