You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"code --install-extension" sometimes prompt the user, making it unsuitable for batch use #58965
If a.b has already been installed and a newer version exists, a prompt appears:
a.b ... is already installed, but a newer version 4.8.2 is available in the marketplace. Would you like to update? Yes(Y) | No(N)
It'd be nice if there was a command option like --yes that answered yes to all questions. There's already --force but it doesn't fit exactly: if the extension has already been installed and no newer version exists, it will redownload the extension from the marketplace anyway.
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.
Sandeep Somavarapu (@sandy081) As I mentioned in the description of this issue, --force is not good enough because it will reinstall an already installed extension. Would you be open to changing --force to not do that, or add a --yes that simply responds yes to every question?
Activity
smarter commentedon Sep 19, 2018
Relevant code: https://github.com/Microsoft/vscode/blob/1dd732608fa588652d4f01aa16e54e8695b0320a/src/vs/code/node/cliProcessMain.ts#L141-L157
sandy081 commentedon Sep 21, 2018
Duplicate of #58434
vscodebot commentedon Sep 21, 2018
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.
Happy Coding!
smarter commentedon Sep 21, 2018
Sandeep Somavarapu (@sandy081) As I mentioned in the description of this issue, --force is not good enough because it will reinstall an already installed extension. Would you be open to changing --force to not do that, or add a --yes that simply responds yes to every question?
sandy081 commentedon Sep 24, 2018
Guillaume Martres (@smarter) Good point, Updated to not to reinstall when --force is used
#58965 Do not reinstall the extension