VSCodeVIM not working: command 'type' already exists at _.registerCommand
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Describe the bug
Plugin does not work. Escape does not work. Can type into my file while in "Normal" mode, no vim key combinations work.
Specific error in Developer console:
console.ts:137 [Extension Host] stack trace: Error: command 'type' already exists at _.registerCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:674:270) at Object.registerCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:977:119) at R (/Users/lef/.vscode/extensions/vscodevim.vim-1.17.1/out/extension.js:9:230907) at Object.t.activate (/Users/lef/.vscode/extensions/vscodevim.vim-1.17.1/out/extension.js:9:235625)
t.log @ console.ts:70
Expected behavior
The plugin works and I can use VIM mode.
** Environment **
On MacOSX Catalina,
VSCodeVIM 0.17.1,
VSCode 1.49.2
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
Reproduce the failure with VSCode 1.49.2, VSCodeVim 0.17.1, and macOS Catalina, then inspect the activation path represented by out/extension.js and the Developer console stack trace. Done means activation no longer reports that command 'type' already exists and Normal-mode Escape and Vim key combinations work.
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
- 35/100