VSCodeVim / VSCodeVim/Vim

Failed to handle key `,`: argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true

Open
#7,296 2 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

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. 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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.