Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to handle key j: Cannot read property 'substring' of undefined #7472

Closed
CharlieWJ opened this issue Feb 10, 2022 · 1 comment
Closed

Comments

@CharlieWJ
Copy link

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

VSCodeVim version: 1.22.1

Stack trace
TypeError: Failed to handle key `j`: Cannot read property 'substring' of undefined
    at _.display (/Users/charlie/.vscode/extensions/vscodevim.vim-1.22.1/src/cmd_line/commandLine.ts:402:89)
    at statusBarText (/Users/charlie/.vscode/extensions/vscodevim.vim-1.22.1/src/statusBar.ts:199:35)
    at Object.clear (/Users/charlie/.vscode/extensions/vscodevim.vim-1.22.1/src/statusBar.ts:105:17)
    at j.updateView (/Users/charlie/.vscode/extensions/vscodevim.vim-1.22.1/src/mode/modeHandler.ts:1579:15)
    at j.handleKeyAsAnAction (/Users/charlie/.vscode/extensions/vscodevim.vim-1.22.1/src/mode/modeHandler.ts:673:16)
    at process.handledAsAction (internal/process/task_queues.js:93:5)
    at j.text [as handleKeyEvent] (/Users/charlie/.vscode/extensions/vscodevim.vim-1.22.1/src/mode/modeHandler.ts:478:11)
    at /Users/charlie/.vscode/extensions/vscodevim.vim-1.22.1/extensionBase.ts:372:73
@J-Fields
Copy link
Member

Duplicate of #7512

@J-Fields J-Fields marked this as a duplicate of #7512 Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants