cody
cody copied to clipboard
VS Code: "Undo" is not working when user edit code and Cody adds a code snippet.
Version
v120.3
Describe the bug
Platform: Windows
Steps to reproduce:
- Have Cody plugin installed in your VS Code editor
- Login to Cody with Free/Pro user
- Open any source code file
- Place the cursor between two function
- Right click t open context menu
- Choose "Cody > Edit Code"
- Select Range as "Cursor" and add message i.e.
create a simple test function - 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