Failed to handle key `,`: argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
VSCodeVim version: 1.21.10
Stack trace
Error: argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true
at r (vscode-file://vscode-app/d:/devtool/vscode/resources/app/out/vs/workbench/workbench.desktop.main.js:76:5236)
at o (vscode-file://vscode-app/d:/devtool/vscode/resources/app/out/vs/workbench/workbench.desktop.main.js:76:4963)
at y.handler (vscode-file://vscode-app/d:/devtool/vscode/resources/app/out/vs/workbench/workbench.desktop.main.js:597:18838)
at h.invokeFunction (vscode-file://vscode-app/d:/devtool/vscode/resources/app/out/vs/workbench/workbench.desktop.main.js:599:319)
at h._tryExecuteCommand (vscode-file://vscode-app/d:/devtool/vscode/resources/app/out/vs/workbench/workbench.desktop.main.js:1501:3496)
at vscode-file://vscode-app/d:/devtool/vscode/resources/app/out/vs/workbench/workbench.desktop.main.js:1501:3245
at processTicksAndRejections (internal/process/task_queues.js:93:5)
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
The issue names no repository file, test, or entry point; start by reproducing the comma-key failure with VSCodeVim 1.21.10 and trace the command or key-handling path associated with ,. Done means pressing , no longer produces the constraint error, with a regression test if the existing test structure identifies a suitable location.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100