hang when input with big file!
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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