gencay / vscode-chatgpt

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

Formatting issue in v1.2.0 #9

Closed lironle6 closed 1 year ago

lironle6 commented 1 year ago

There seems to be an issue with code formatting: image The first code section is handled well, the second it misses and then it starts handling it from the middle.

gencay commented 1 year ago

@shnitzel6 good catch. This is odd, I will take a look!

gregid commented 1 year ago

This looks more like a problem on ChatGPT side - I've noticed similar problem on their Web UI.

gencay commented 1 year ago

Yes, I noticed that too. The issue is with the non-finished initial code block that needs to be continued in the thread. I don't think it's worth to invest in fixing this on our extension side since it also happens on their end. Thoughts?

lironle6 commented 1 year ago

If that's the case, it will probably get fixed sooner rather than later on their side. I would assume it's only worth perusing if it's an easy fix that won't break anything after OpenAI fix their part.