microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.28k stars 29.31k forks source link

Copilot Inline chat hunks don't disappear when rejected #233339

Open abner-math opened 5 days ago

abner-math commented 5 days ago

Does this issue occur when all extensions are disabled?: No

Steps to Reproduce:

  1. Open the inline chat (ctrl +I) and sent a prompt that generates edits in multiple hunks
  2. Discard one of the hunks

Instead of undoing the previous hunk edit when discarding it, the hunk is still visible and decorated as a diff, see screenshot:

Image

vs-code-engineering[bot] commented 5 days ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.95.1. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

abner-math commented 5 days ago

Sorry for being inaccurate, this is happening on 1.95.1.