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
327 stars 31 forks source link

perform action on selected code only #2071

Open rleertg opened 4 hours ago

rleertg commented 4 hours ago

Type: Bug

When highlighting a section of code and attempting to perform copilot action on it or add it to copilot chat dialogue, it attempts to perform request on entire file instead of selected code only.

Extension version: 0.21.2 VS Code version: Code 1.94.0 (d78a74bcdfad14d5d3b1b782f87255d802b57511, 2024-10-02T13:08:12.626Z) OS version: Darwin arm64 24.0.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M2 Max (12 x 2400)| |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
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off| |Load (avg)|2, 1, 2| |Memory (System)|32.00GB (0.03GB free)| |Process Argv|--crash-reporter-id 35589a99-d536-4138-8209-dcff6a1dfbdc| |Screen Reader|no| |VM|0%|
lramos15 commented 2 hours ago

Do you have some example recordings for us to reproduce and refine this issue?