Vim
Vim copied to clipboard
Extremely slow when typing (limited to a special row)
Describe the bug Typing in this particular line is extremely slow if the vim-plugin is activated. It's only this particular line. Every other codelines work fine.
To Reproduce
- Open the attached file and type "required [(ngModel)]="amount" at the end of line 18 without vim plugin installed => Everything is fine
- Install the vim plugin (1.0.8)
- Restart vscode
- Repeat step 1
Expected behavior No delay when typing.
Screenshots
In the video, I'm typing as fast as without the plugin, but there is a huge delay between typing and the characters showing on the screen. When I'm circling the mouse around the cursor position, I'm already finished typing for a few seconds but the character appear slowly one after each other.
It's only in this particular file (attached) and online in line 18. But I can reproduce the problem on another PC, too.
Environment (please complete the following information):
- Extension Version:
1.0.8
- OS Version:
Windows_NT x64 10.0.17134
- VSCode version:
1.31.1
Running into the same thing when editing a large JSON file. Disabling the vim extension sped things right back up.
Extension: 1.1.0 OS: MacOS 10.12.6 (16G1815) VSCode: 1.33.0-insider (1.33.0-insider)
I've been running into similar issues. It only seems to occur when editing long lines of JSX, wrapped inside a switch statement, and I'm typing inside an attribute. The latest culprit:
switch (status) {
// snip
case Status.LOADING:
return <Loading title="Loading subscriptions..." body="Please wait. Fetching your subscriptions from the r" />;
// snip
}
The longer the line gets, the more it lags, and eventually the extension host crashes. I can add more if I wrap the JSX element across multiple lines so it doesn't get so long. But it's still a bit of a pain.
I've experienced the same problem across 4 separate machines. I don't know the exact versions on the other machines, but my current one:
Extension Version: 1.11.2 OS Version: Ubuntu 18.04.3 LTS (Reported as Linux x64 5.0.0-31-generic snap in VS Code About) VSCode version: 1.39.2
Anyone have a fix for this? When it starts lagging for me it usually takes about 10-20 seconds to render a single character. I do notice it happening a lot when working with JSX
same issue