rubberduck-ai / rubberduck-vscode

Use AI-powered code edits, explanations, code generation, error diagnosis, and chat in Visual Studio Code with the official OpenAI API.
https://marketplace.visualstudio.com/items?itemName=Rubberduck.rubberduck-vscode
MIT License
583 stars 72 forks source link

Edit Code should close diff view when code is edited #7

Open nicoespeon opened 1 year ago

nicoespeon commented 1 year ago

When we edit code, a diff view appears:

edit code bug

If we change the code or apply the diff, it should close the view. Otherwise, the applied code may have unexpected results since the source code has changed meanwhile.