ModeHandler: error handling key
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
- Issue Type:
Bug - Extension Name:
vim - Extension Version:
1.0.1 - OS Version:
Darwin x64 18.0.0 - VSCode version:
1.31.0-insider
Describe the bug
About two weeks ago I started frequently getting errors like "ModeHandler: error handling key=l. err=TypeError: Cannot read property 'position' of undefined." This appears in dialog in the lower-right of VS Code that I can dismiss, but it comes back frequently.
To Reproduce
Steps to reproduce the behavior:
- Use normal Vim keys to move the cursor.
- See error after some period of time, not immediately.
Expected behavior
Don't display this error message.
{
"activationTimes": {
"startup": true,
"codeLoadingTime": 430,
"activateCallTime": 4,
"activateResolvedTime": 210,
"activationEvent": "*"
}
}
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
Start with the ModeHandler path that reports “error handling key=l” and reproduce the problem using normal Vim cursor movement on the reported VS Code and extension versions. Trace the intermittent undefined position condition and verify that the recurring error dialog no longer appears.
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
- Needs clarification
- Newbie friendliness
- 30/100