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

VSCodeVIM not working: command 'type' already exists at _.registerCommand #5318

Open
elefthei opened this issue Oct 1, 2020 · 5 comments
Open

Comments

@elefthei
Copy link

elefthei commented Oct 1, 2020

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

@elefthei elefthei changed the title VSCode not working: command 'type' already exists at _.registerCommand VSCodeVIM not working: command 'type' already exists at _.registerCommand Oct 1, 2020
@J-Fields
Copy link
Member

Is this still an issue?

@sbjessee
Copy link

sbjessee commented Jun 6, 2022

This is still an issue for me

[2022-06-06 03:22:22.109] [exthost] [error] Activating extension vscodevim.vim failed due to an error:
[2022-06-06 03:22:22.109] [exthost] [error] Error: command 'type' already exists
    at o.registerCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:83:29716)
    at Object.registerCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:97:30972)
    at overrideCommand (/Users/skylerjes/.vscode/extensions/vscodevim.vim-1.22.2/extensionBase.ts:559:38)
    at install (/Users/skylerjes/.vscode/extensions/vscodevim.vim-1.22.2/extensionBase.ts:351:3)
    at e.activate (/Users/skylerjes/.vscode/extensions/vscodevim.vim-1.22.2/extension.ts:34:3)
    at _activate (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:83:8180)
    at _waitForDepsThenActivate (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:83:8122)
    at _initialize (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:83:7486)

** Environment **
MacOSX Monterey arm64
VSCodeVIM v1.22.2
VSCode v1.67.2

@sbjessee
Copy link

sbjessee commented Jun 6, 2022

I found the conflicting extension was lak132.indent-to-bracket v1.2.2
There's an existing issue on their repo: briankendall/vscode-indent-to-bracket#4

@shivanshu-semwal
Copy link

This is another conflicting extension - https://github.com/AdamMaras/vscode-overtype
And this is the main issue for type microsoft/vscode#13441

@muthursyamburi
Copy link

muthursyamburi commented Jul 18, 2024

This is another conflicting extension - https://github.com/AdamMaras/vscode-overtype And this is the main issue for type microsoft/vscode#13441

Thank you so much!!! I was hitting my head on why vim is not working fine and finally I could resolve it! Yes, overtype was the culprit for me, and I am now back into the happy world of VIM!!! Wowwwwww....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants