microsoft / vscode

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

Ghost text flicker when undoing accept part #172267

Closed rebornix closed 1 year ago

rebornix commented 1 year ago

Testing #172029

https://user-images.githubusercontent.com/876920/214391010-4dc4812d-6cdd-4185-9ee0-fa944223b90b.mov

In the second part of the video, undoing the accepted part will remove and then insert spaces which leads to the flicker.

vscodenpa commented 1 year ago

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines. If you don't know which extension is causing the problem, you can run Help: Start extension bisect from the command palette (F1) to help identify the problem extension.

Happy Coding!

hediet commented 1 year ago

This is a bug in copilot. It happens when the range gets empty (start = end) and the predictive cache update now moves the entire inline completion instead of just the end.