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
342 stars 37 forks source link

Enable highlighting scroll in copilot chat window #2742

Open Kieran-RYE opened 1 day ago

Kieran-RYE commented 1 day ago

In the Github Copilot chat window it can sometimes give very long answers, rewriting entire files/scripts, when only a portion of that code is actually changing. Currently, when I try to highlight a longer section of code but don't want all of it, I need to click the start of where I want to copy, scroll down manually, and click the end with shift held to highlight everything. Instead it would be easier if I could highlight and have the scrollbar move with the highlighted section as it hits the top/bottom of the currently visible window. This type of feature is implemented in most other programs with scroll text boxes.

I first created an issue here: https://github.com/microsoft/vscode/issues/234271