cody icon indicating copy to clipboard operation
cody copied to clipboard

VS Code: "Undo" is not working when user edit code and Cody adds a code snippet.

Open jay-fibi opened this issue 1 year ago • 1 comments

Version

v120.3

Describe the bug

Platform: Windows

Steps to reproduce:

  1. Have Cody plugin installed in your VS Code editor
  2. Login to Cody with Free/Pro user
  3. Open any source code file
  4. Place the cursor between two function
  5. Right click t open context menu
  6. Choose "Cody > Edit Code"
  7. Select Range as "Cursor" and add message i.e. create a simple test function
  8. Click on "Undo" ghost text

Observe behavior:

Clicking on " Undo" will not remove the added code snippet by Ciody

Expected behavior

Clicking on "Undo" should remove the added code snippet.

Additional context

Video link:

https://drive.google.com/file/d/1FQFPHQ63Wd9W7SgH6hAw4aWNkcKOKOE7/view?usp=drive_link

jay-fibi avatar Jun 07 '24 21:06 jay-fibi