VSCodeVim / VSCodeVim/Vim

Extremely slow when typing (limited to a special row)

Open
#3,508 4 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/performance
Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

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

  1. Open the attached file and type "required [(ngModel)]="amount" at the end of line 18 without vim plugin installed => Everything is fine
  2. Install the vim plugin (1.0.8)
  3. Restart vscode
  4. Repeat step 1

Expected behavior
No delay when typing.

Screenshots
vim

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

add-expense.component.html.txt

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by opening the attached add-expense.component.html.txt file in VS Code with Vim extension 1.0.8 and reproducing the delay while typing at the end of line 18. Compare typing with and without the extension on the reported environment. Done means typing that line shows characters without the described delay.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.