gencay / vscode-chatgpt

An unofficial Visual Studio Code - OpenAI ChatGPT integration
ISC License
3.5k stars 760 forks source link

Suggestions - automatic continuation of long code #10

Closed lironle6 closed 1 year ago

lironle6 commented 1 year ago

So there is an issue with ChatGPT which is due to character cap it often stops the code in the middle, sometimes in the middle of the line. In which case we have to ask it to continue and repeat the missing lines. Would make life a lot easier if this would be possible to implement and we could copy/paste just one big code section instead of trying to merge and rewrite code parts from 2+ consecutive responses. Thanks!

gencay commented 1 year ago

@lironle6 please check the latest version v2.5. The extension will now detect a partial response and will show a notification to continue the conversation and eventually you will see a combined response with the previous messages.

Let's say f it takes 4 answers for ChatGPT to completely answer your question, the last response will contain all the results merged together.

continue-combine