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
309 stars 28 forks source link

Copilot can't see any code if too much is highlighted #1101

Open binaryfire opened 4 months ago

binaryfire commented 4 months ago

There seems to be a hidden line limit for the amount of highlighted code that can be sent with a chat request. Anything beyond that and Copilot acts like nothing is highlighted (despite the fact that the chat UI indicates the file and all the highlighted lines were actually sent):

image

This leads to a lot of unnecessary confusion and frustration. There either needs to be clear feedback when the number of highlighted lines is too high, or preferably the API needs to be improved so it can handle more code at once.

The latter would be a much better option - Claude 3 Opus can handle huge amounts of code, and as a result can have much more meaningful interactions when dealing with large sections of a codebase. I'm finding Claude to be far more capable than Copilot in this respect. Copilot needs to catch up or it'll be left behind.

aaronsmith1234 commented 4 months ago

We are having the same issue; @rebornix let me know if anything I can do to help get resolved!