Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Typing "string;" sometimes inserts "strings;" #77926
Issue Type: Bug
VS Code version: Code - Insiders 1.37.0-insider (36e08fe, 2019-07-24T19:58:35.647Z)
If you type
@mjbvz As I mentioned, reproducing has to do with typing speed, you need to be very fast. The gif is from self-host in VS Code and the status bar shows TypeScript 3.5.2 --
At the time I recorded the gif it reproduced 50% of the time. I have been working in VS Code at that time for > 5 hrs without killing the TS server. I have found it easier to reproduce if TS is "stressed" with errors... This somehow makes it easier for me to reproduce even with a fresh self-hosting environemnt e.g.
@jrieken After a lot of attempts, now it reproduces 20% of the time even if I type the accepting character ; slowly and only after a flash is observable in the suggest list. I am not pressing arrow down nor moving the mouse or anything like that,
Debugged this with @alexandrudima and it turns out that the suggest widget isn't always cancelling details requests and subsequently splicing the wrong elements, e.g.