VSCodeVim / VSCodeVim/Vim

Randomly blocking UI thread when intellisense suggestion popup try to appear

Open
#4,101 1 comment 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the bug
Insert mode, when intellisense try to make suggestion model it randomly blocks UI thread, so input takes several hundreds of lag to appear or input order being confused.

To Reproduce
Steps to reproduce the behavior:

  1. change to insert mode
  2. try to make some suggestion-able text input, for example
const a = {
	dummy: (test: string //try to type `stri...`
}

Issue occurs randomly, so no concrete repro steps.

Expected behavior

Screenshots

WITHOUT vim plugin
image

WITH vim plugin
image

See green highlighted blocking keyeventhandler only appears with vim plugin

Environment (please complete the following information):

  • Extension (VsCodeVim) version: latest
  • VSCode version: latest
  • OS: Windows 10

Additional context
Add any other context about the problem here.

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

No source files, tests, or entry points are named in the report. Reproduce in insert mode while typing suggestion-triggering TypeScript text on Windows 10, comparing behavior with and without the Vim plugin. Done means the suggestion popup no longer blocks the UI thread or causes input lag and ordering problems.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.