VSCodeVim / VSCodeVim/Vim

hang when input with big file!

Open
#7,829 0 comments 0 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

Edit markdown file with vim mode and embed some PNG file with data uri so file size is more than 2KB but line number is less than 10.

It will be hang after input "[ ]" and I have disable all extension except VIM.

#test

[]

![img][reflection_datauri]


[reflection_datauri]:data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABLAAAALuCAIA....

[reflection_datauri1]:data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABLAAAALuCAIA....

[reflection_datauri2]:data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABLAAAALuCAIA....

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

Reproduce the hang in VS Code with Vim mode enabled, using a Markdown file containing several large PNG data URIs and a line with "[]". Start by confirming whether the behavior still occurs with other extensions disabled; done means identifying the trigger and preventing the editor from hanging while entering the input.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools, performance
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.