Failed to handle key=<C-a>. Illegal value for `line`
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.19.3
Stack trace
Error: Failed to handle key=<C-a>. Illegal value for `line`
at _lineAt (g:\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:76:1174)
at Object.lineAt (g:\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:76:95)
at E.exec (c:\Users\Micha\.vscode\extensions\vscodevim.vim-1.19.3\src\actions\commands\insert.ts:241:36)
at E.execCount (c:\Users\Micha\.vscode\extensions\vscodevim.vim-1.19.3\src\actions\base.ts:249:20)
at C.exec (c:\Users\Micha\.vscode\extensions\vscodevim.vim-1.19.3\src\actions\commands\insert.ts:147:22)
at runMicrotasks (<anonymous>)
at process.j (internal/process/task_queues.js:97:5)
at C.execCount (c:\Users\Micha\.vscode\extensions\vscodevim.vim-1.19.3\src\actions\base.ts:248:42)
at I.actionToRecord [as runAction] (c:\Users\Micha\.vscode\extensions\vscodevim.vim-1.19.3\src\mode\modeHandler.ts:718:40)
at I.handledAsAction [as handleKeyAsAnAction] (c:\Users\Micha\.vscode\extensions\vscodevim.vim-1.19.3\src\mode\modeHandler.ts:647:43)
at I.async [as handleKeyEvent] (c:\Users\Micha\.vscode\extensions\vscodevim.vim-1.19.3\src\mode\modeHandler.ts:469:11)
at Object.promise (c:\Users\Micha\.vscode\extensions\vscodevim.vim-1.19.3\extensionBase.ts:632:27)
at Object.runTasks (c:\Users\Micha\.vscode\extensions\vscodevim.vim-1.19.3\src\taskQueue.ts:36:26)
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 by reproducing the failure, then inspect src/actions/commands/insert.ts at the reported line 241 and trace the call through src/actions/base.ts and src/mode/modeHandler.ts. Confirm the handling path and its existing coverage before changing anything; done means completes without the Illegal value for line error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100