-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
code --uninstall-extension is not the inverse of --install-extension #33106
Comments
--uninstall-extension has nothing to do with location of the vsix. It takes extension name and uninstalls it. This is by design. cc @joaomoreno for more info if I missed anything |
Is there a reason why provided the path of the .vsix file it doesn't get the name of the extension from it? Running --install-extension <ext> Installs an extension.
--uninstall-extension <ext> Uninstalls an extension. |
I believe the |
That's good, but why not making |
@fabiospampinato Sure, it would also not hurt... want to submit a PR for that? |
Alright, I'll work on it. |
It was surprising to find out that after a:
code --install-extension ~/Desktop/test.vsix
and a restart, executing this:
code --uninstall-extension ~/Desktop/test.vsix
doesn't remove the extension, instead it throws an error:
Error: Extension '/Users/fabio/Desktop/test.vsix' is not installed.
The text was updated successfully, but these errors were encountered: