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
322 stars 29 forks source link

Improve experience with long codeblocks in panel chat #1348

Open roblourens opened 3 months ago

roblourens commented 3 months ago

If I ask panel chat to generate some code in the panel, then I might get some long codeblocks and also some prose explanation of them. It's inconvenient to read these because the view is narrow and I'll have to scroll around a lot to see both the explanation and the code. It would be useful if the codeblock would actually open in an editor view in some cases so that I can read the code and the explanation side by side.

We could start rendering codeblocks inline, and when they get to a certain length, collapse them inline and start rendering them in a preview editor in the main editor area. Or, try to detect a scenario when the model will generate a bunch of code from scratch and use this mode in that scenario.

fisforfaheem commented 3 months ago

Please check your firewall rules and network connection then try again. Error Code: ERR_HTTP2_STREAM_CANCEL.