alexdima / vscode-lcov

MIT License
39 stars 13 forks source link

With VSCodeVim, causes keyboard input to lag for several seconds when I'm typing type parameters between < > #26

Closed jedwards1211 closed 4 years ago

jedwards1211 commented 4 years ago

Video of the problem

A second or two after I type the opening < for Flow type parameters, VSCodeVim will stop responding to keyboard input for several seconds, then finally everything I typed will show up after a huge delay.

If I disable vscode-lcov or VSCodeVim, the problem goes away. I don't have any extensions for Flow enabled right now.

I think vscode-lcov is bogging down the extension host process when this happens. Since VSCodeVim unfortunately runs in the extension host also, it's unable to responding to keyboard input while vscode-lcov is bogging the process down.

Maybe this expensive work can be made more performant, otherwise it should probably be done in a Worker thread.

jedwards1211 commented 4 years ago

Nevermind, now I'm seeing the slowdown without vscode-lcov enabled. Sigh