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

Error: command 'lean4.input.convert' already exists #551

Open
Ekwem2024 opened this issue Nov 30, 2024 · 3 comments
Open

Error: command 'lean4.input.convert' already exists #551

Ekwem2024 opened this issue Nov 30, 2024 · 3 comments

Comments

@Ekwem2024
Copy link

Internal error (while activating Lean 4 extension): Error: command 'lean4.input.convert' already exists

Error: command 'lean4.input.convert' already exists
at Y0.registerCommand (file:///c:/Users/emmau/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:31527)
at Object.registerTextEditorCommand (file:///c:/Users/emmau/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:156:36569)
at new t.AbbreviationRewriterFeature (c:\Users\emmau.vscode\extensions\leanprover.lean4-0.0.185\dist\extension.js:1:159060)
at new t.AbbreviationFeature (c:\Users\emmau.vscode\extensions\leanprover.lean4-0.0.185\dist\extension.js:1:157343)
at c:\Users\emmau.vscode\extensions\leanprover.lean4-0.0.185\dist\extension.js:1:198012
at c:\Users\emmau.vscode\extensions\leanprover.lean4-0.0.185\dist\extension.js:1:198234
at Generator.next ()
at c:\Users\emmau.vscode\extensions\leanprover.lean4-0.0.185\dist\extension.js:1:195856
at new Promise ()
at s (c:\Users\emmau.vscode\extensions\leanprover.lean4-0.0.185\dist\extension.js:1:195601)
at c:\Users\emmau.vscode\extensions\leanprover.lean4-0.0.185\dist\extension.js:1:196107
at c:\Users\emmau.vscode\extensions\leanprover.lean4-0.0.185\dist\extension.js:1:286099
at Generator.next ()
at c:\Users\emmau.vscode\extensions\leanprover.lean4-0.0.185\dist\extension.js:1:285940
at new Promise ()
at i (c:\Users\emmau.vscode\extensions\leanprover.lean4-0.0.185\dist\extension.js:1:285685)
at t.displayInternalErrorsIn (c:\Users\emmau.vscode\extensions\leanprover.lean4-0.0.185\dist\extension.js:1:286048)
at c:\Users\emmau.vscode\extensions\leanprover.lean4-0.0.185\dist\extension.js:1:196071
at Generator.next ()
at s (c:\Users\emmau.vscode\extensions\leanprover.lean4-0.0.185\dist\extension.js:1:195658)

@Kha Kha transferred this issue from leanprover/elan Dec 2, 2024
@mhuisi
Copy link
Collaborator

mhuisi commented Dec 2, 2024

Which other extensions do you have installed? (E.g. did you install the "Harmonic Lean 4" extension?)

@Ekwem2024
Copy link
Author

Which other extensions do you have installed? (E.g. did you install the "Harmonic Lean 4" extension?)

I installed the extensions like lean 4 support language , paperproof, harmonic, lean4fork, and lean code actions. I disabled the all except for lean 4 support language.

@mhuisi
Copy link
Collaborator

mhuisi commented Dec 3, 2024

Ah, yes, you really do not want to install all Lean 4 extensions since some of them are duplicates of the official one and contribute the same VS Code commands, which VS Code does not allow. I'd uninstall all the other ones except for the Paperproof extension if you want to use it.
Does the issue still occur after uninstalling the other extensions?

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

2 participants