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
Visual Studio Code should update itself silently #9539
*out-of-scopePosted issue is not in scope of VS Codefeature-requestRequest for new features or functionalityinstall-updateVS Code installation and upgrade system issues
I think automatic update is great, but I think some people just want the thing updated automatically without being asked. There can be notification that indicates that it's changed and what's new. But I think we should follow the Chrome model and just update it.
Why?
Think of it as software running on the web. When I go to cnn.com, I'm not notified that there's a new version of the back-end software that I might be running. So why / when should I care if the front-end software has updated?
Sometimes you care -- such as low-bandwidth situations. But that doesn't mean everyone cares. Some of us, dare I say, a large majority of people, just want the latest stuff all the time.
Thank you for listening.
VSCode Version:
OS Version:
Steps to Reproduce:
1.
2.
Reacted by Richard Davenport, Raul Santos, Peter Štibraný, Garrett Pauls, Sandor, Kirtan Gajjar, Dawson Botsford, Shan Khan, Magnus Hoff, Chris Richner and 118 more
Reacted by Robin Munn, Quack, Webtakeme, Jan Niklas Hasse, Zipfer, Michal Przybylowicz, Etrimus, Timur, Shawn Melton, zcyzcy88 and 18 more
Reacted by James Ko, Micah Rairdon, hellfyred, Oliver Weichhold, Justus-Maier, David Lee, Miguel Angel Velazco, do34, Sominemo and 10XL
Problem with automatic, unconfirmed updating is that users might rely on a feature that breaks with the update, they might require a specific extension that doesn't work properly with the update, etc.
In very strict environments, the user might not even have the required privileges for the update process to complete successfully, or he might be required to ask for approval of a superior before upgrading a toolset, etc.
For the insiders release, I would actually welcome it not nagging every day and just updating automatically, for the stable release, not so much since that is the tool I rely on for production usage.
Reacted by Michael Lyons, Robin Munn, Quack, Zipfer, DrakaSAN, Priya Ranjan Dubey, Timur, Carlo Cardella, Rushil Perera, akdevservices and 14 more
Reacted by Oliver Weichhold, Max Grass, Zhang Zhaoheng, Edison Samuel, Stefan Seeland and Mr Beedell, Roke Julian Lockhart
Should be a setting so the user can pick whether they want to automatically upgrade
Reacted by Robin Munn, William Holroyd, Raul Santos, Garrett Pauls, Kirtan Gajjar, Alin Ciocan, Dawson Botsford, Quack, Webtakeme, Jay Wick and 64 more
Reacted by Mark Carpenter Jr, Emmanuel Di Iorio, Rushil Perera, David Lee, Merlin, Aftab Hussain, Mohammad J. Youssef, Jan Kelin, Alonso-dav and Julio L. Muller
Could be a setting defaulted to false. Can already imagine an avalanche of "high cpu/hdd load on startup // VSC unresponsive // etc" bugreports every update if this feature becomes a default behavior.
Reacted by Robin Munn, Raul Santos, Timur, Merlin, mbomb007, Max Jakobitsch, nettnikl, martinog2 and Mr Beedell, Roke Julian Lockhart
This is the number 1 thing that bothers me about code specifically on Windows, (so that just speaks to how great code is). I'm not sure if anything is being done here so I feel compelled to add my two cents. This is not just annoying to people on the insider track. The stable updates come frequently enough to annoy the shit out of me over the last year. There is a well-established pattern for how to do this and you should just copy: chrome, github for windows, spotify, slack, curse, or any other of the tons of desktop apps that have frequent updates do it silently and automatically.
Might break functionality:
How do I know as a user that the update is going to break my workflow? Until I install it, I don't. Even if I do read the release notes, I might not understand the implications until I use it. By leaving that choice up to the user you shift the blame for things breaking onto them and give them a crappy update experience as a bonus. Instead, if this is a legitimate concern, you should provide an easy way to roll back to the previous known-good version. More work for you, yes, but more satisfaction for end users.
Might cause high load on startup:
Don't install the update on startup. No one wants slow startup. There are many ways around this, install in the background, install on shutdown... again copy one of the other apps that does it right.
Make it a setting:
If you must. Most users won't know or care about it, unless you turn it off by default, then every user will have to know about it because they will all want to enable it!
Might not have permissions:
Code should install into AppData\Local or some other non-restricted location. If that means it doesn't use MSI, so much the better.
Reacted by Jordan S. Jones, Magnus Hoff, Zipfer, Emanuel Baran, Micah Rairdon, Asbjørn Ulsberg, nikoudel, fenduru, Douglas Waugh, xanotech and 17 more
Reacted by Kurt Koller, Rushil Perera, David Lee, 10XL, josephaVMW and Julio L. Muller
João Moreno (@joaomoreno) No update has ever broken functionality for me (I was just responding to what I think is a weak excuse for the current update behavior). I don't want to disable updates! Like the OP stated, I just want them to occur silently, automatically, without interrupting my workflow.
There is one really good thing about the current behavior, when I have insomnia, I can just think about the update experience in VS code and cry myself to sleep. :)
Reacted by Jordan S. Jones, João Moreno, Bogdan Vitoc, Asbjørn Ulsberg, nikoudel, Booneu, Benjamin Horner, Bradley Ellert, Raymond Piller, Max Grass and 7 more
I agree. I am constantly being asked to restart VS Code because of extension updates. And the upgrade of VS Code does not work. When I get annoyed enough of the prompts I download the latest version and reinstall.
UPDATE Note I am running on Mac OS X.
I determined via log file ~/Library/Application\ Support/com.microsoft.VSCode.ShipIt/ShipIt_stderr.log that my problem was permissions.
I had VSCode installed in /Applications and it could not replace that version with the update.
I have moved it into ~/Applications and adjusted my helper script accordingly. I have not seen any more requests for restart where they were coming every 5-10 mins.
Notice that I found a bunch of cruft in a directory named /var/folders/lj/vc5bqkb1107_sxdtx3gnp1yr0000gp/T as well.
What I want is to be able to press "never annoy me again" whenever I see "an update is available". I don't care unless something breaks, and then I do it on my own. Those update notifications are annoying, and that is the real problem.
Reacted by Cody Batt, Nero Sule, Bogdan Vitoc, Christian Rodriguez, Paula Kingsley, phiresky, Kevin Crawley, Anton Berezan, Seth Brenith, Scott R. Jones and 16 more
Please please please make it just a symbol (again, not blinking one) for update notification. It is very very annoying every time I have to switch it off.
I don't think this is needed. I don't know what update notifications looked like 3 years ago, but they are not intrusive anymore. I see a little "1" or whatever on the settings gear that there is an update, then I click "update". That's it.
Also, I definitely think silent/automatic updates should be optional. The users should have complete control over update functionality on their computers. If they don't want manual updates, give them an option for auto, but don't take away the manual option.
Reacted by Cody Batt, martinog2 and Eddie Carswell
I still am having frustrations with the updates. It requires that I download and reinstall a new version of VSCode every time there is a new update. This takes time. I just want the current installation be updated when I choose to update it.
Currently, this is what I need to do:
Download new version.
Unzip.
Figure out where current copy is located.
Copy-paste new version into old version's folder,
Verify that I didn't overwrite anything and that nothing is missing..
I think people who are requesting this feature are on an unlimitied, unmetered internet connection all the time who don't care what hogs their bandwidth and don't care if something downloads hundreds of megabytes of stuff without their permission.
While I don't mind silent updates when I'm at home where I also have an unlimited connection. But when I'm on the go I'm using my very limited mobile data plan. And getting data cap warnings because something decided to update itself is not fun. Despite the fact I do my best to update everything I can while I'm on unmetered.
Today I lost 500MB data because VSCode decided to update itself on Linux. I don't know how it did that, because normally updates come via apt.
How do I hide the release notes? I will never read them and they are annoying.
I opened "Allow disabling release notes popup" #137137 as it is a separate issue that is annoying even with silent background updates (available on Linux for VSCode and other software installed as a package)
(was already fixable with "update.showReleaseNotes": false)
We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
From the years-old discussion on the thread, is the only part not-yet-implemented to make the "update is available" "restart now button" floating notification prompt less obtrusive?
I could imagine a setting like "update.prompt": false that removes that prompt entirely. There will still be a notification dot on the gear icon in the corner saying a notification is available, which is the perfect amount of notification for me. It seems like adding this setting could be a separate feature request?
*out-of-scopePosted issue is not in scope of VS Codefeature-requestRequest for new features or functionalityinstall-updateVS Code installation and upgrade system issues
Activity
bgse commentedon Jul 20, 2016
Problem with automatic, unconfirmed updating is that users might rely on a feature that breaks with the update, they might require a specific extension that doesn't work properly with the update, etc.
In very strict environments, the user might not even have the required privileges for the update process to complete successfully, or he might be required to ask for approval of a superior before upgrading a toolset, etc.
For the insiders release, I would actually welcome it not nagging every day and just updating automatically, for the stable release, not so much since that is the tool I rely on for production usage.
Mike737377 commentedon Jul 21, 2016
Should be a setting so the user can pick whether they want to automatically upgrade
kieferrm commentedon Jul 21, 2016
This is the 'stable channel' version of #7389.
Spown commentedon Jul 22, 2016
Could be a setting defaulted to
false. Can already imagine an avalanche of "high cpu/hdd load on startup // VSC unresponsive // etc" bugreports every update if this feature becomes a default behavior.CodyBatt commentedon Sep 23, 2016
This is the number 1 thing that bothers me about code specifically on Windows, (so that just speaks to how great code is). I'm not sure if anything is being done here so I feel compelled to add my two cents. This is not just annoying to people on the insider track. The stable updates come frequently enough to annoy the shit out of me over the last year. There is a well-established pattern for how to do this and you should just copy: chrome, github for windows, spotify, slack, curse, or any other of the tons of desktop apps that have frequent updates do it silently and automatically.
Might break functionality:
How do I know as a user that the update is going to break my workflow? Until I install it, I don't. Even if I do read the release notes, I might not understand the implications until I use it. By leaving that choice up to the user you shift the blame for things breaking onto them and give them a crappy update experience as a bonus. Instead, if this is a legitimate concern, you should provide an easy way to roll back to the previous known-good version. More work for you, yes, but more satisfaction for end users.
Might cause high load on startup:
Don't install the update on startup. No one wants slow startup. There are many ways around this, install in the background, install on shutdown... again copy one of the other apps that does it right.
Make it a setting:
If you must. Most users won't know or care about it, unless you turn it off by default, then every user will have to know about it because they will all want to enable it!
Might not have permissions:
Code should install into AppData\Local or some other non-restricted location. If that means it doesn't use MSI, so much the better.
joaomoreno commentedon Sep 23, 2016
Cody Batt (@CodyBatt) You make some good points.
I'm curious, though, did you get an update that broke functionality? If so, please file an issue on that.
There is a setting to disable updates:
update.channel: "none".User installations: #534
CodyBatt commentedon Sep 23, 2016
João Moreno (@joaomoreno) No update has ever broken functionality for me (I was just responding to what I think is a weak excuse for the current update behavior). I don't want to disable updates! Like the OP stated, I just want them to occur silently, automatically, without interrupting my workflow.
There is one really good thing about the current behavior, when I have insomnia, I can just think about the update experience in VS code and cry myself to sleep. :)
klmcwhirter commentedon Oct 11, 2016
I agree. I am constantly being asked to restart VS Code because of extension updates. And the upgrade of VS Code does not work. When I get annoyed enough of the prompts I download the latest version and reinstall.
UPDATE
Note I am running on Mac OS X.
I determined via log file ~/Library/Application\ Support/com.microsoft.VSCode.ShipIt/ShipIt_stderr.log that my problem was permissions.
I had VSCode installed in /Applications and it could not replace that version with the update.
I have moved it into ~/Applications and adjusted my helper script accordingly. I have not seen any more requests for restart where they were coming every 5-10 mins.
Notice that I found a bunch of cruft in a directory named /var/folders/lj/vc5bqkb1107_sxdtx3gnp1yr0000gp/T as well.
PowerWeb5 commentedon Jan 15, 2017
Agreed, this would make vscode more attractive to use frequently, with less tedious updates.
bpacholek commentedon Mar 22, 2017
I made a simple solution for Debian:
https://github.com/ideaconnect/vscode-autoupdate
I have it in cron, automatically updates vscode for my everyday around 11:00
krux02 commentedon Mar 23, 2017
What I want is to be able to press "never annoy me again" whenever I see "an update is available". I don't care unless something breaks, and then I do it on my own. Those update notifications are annoying, and that is the real problem.
29 remaining items
parthi2929 commentedon Jan 6, 2019
Please please please make it just a symbol (again, not blinking one) for update notification. It is very very annoying every time I have to switch it off.
iqapps commentedon Sep 14, 2020
"you should provide an easy way to roll back to the previous known-good version."
We really miss this, but its also a sign of to many bad releases. Just give us whichever is easiest to implement :-)
mbomb007 commentedon Dec 10, 2020
I don't think this is needed. I don't know what update notifications looked like 3 years ago, but they are not intrusive anymore. I see a little "1" or whatever on the settings gear that there is an update, then I click "update". That's it.
Also, I definitely think silent/automatic updates should be optional. The users should have complete control over update functionality on their computers. If they don't want manual updates, give them an option for auto, but don't take away the manual option.
CodyBatt commentedon Dec 10, 2020
Updates are vastly better than when the issue was created. Seems like it could be closed at this point.
MendelBak commentedon Mar 9, 2021
I still am having frustrations with the updates. It requires that I download and reinstall a new version of VSCode every time there is a new update. This takes time. I just want the current installation be updated when I choose to update it.
Currently, this is what I need to do:
Is it possible to avoid this?
Calmarius commentedon May 16, 2021
I think people who are requesting this feature are on an unlimitied, unmetered internet connection all the time who don't care what hogs their bandwidth and don't care if something downloads hundreds of megabytes of stuff without their permission.
While I don't mind silent updates when I'm at home where I also have an unlimited connection. But when I'm on the go I'm using my very limited mobile data plan. And getting data cap warnings because something decided to update itself is not fun. Despite the fact I do my best to update everything I can while I'm on unmetered.
Today I lost 500MB data because VSCode decided to update itself on Linux. I don't know how it did that, because normally updates come via apt.
jhpratt commentedon May 16, 2021
Calmarius Then make it an option?
matkoniecz commentedon Nov 13, 2021
I opened "Allow disabling release notes popup" #137137 as it is a separate issue that is annoying even with silent background updates (available on Linux for VSCode and other software installed as a package)
(was already fixable with
"update.showReleaseNotes": false)0009-0009-1013-986X commentedon Aug 19, 2022
Does the existence of "http://github.com/microsoft/winget-cli" partially remediate this? Ideally Visual Studio Code should no longer need to include a custom update-mechanism.
vscodenpa commentedon Dec 9, 2022
We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!
0009-0009-1013-986X commentedon Dec 24, 2022
@VSCodeTriageBot, what was the rationale for the decision? Without that, I fail to see what can be discussed.
heartacker commentedon Dec 24, 2022
sad
darthwalsh commentedon Sep 21, 2023
From the years-old discussion on the thread, is the only part not-yet-implemented to make the "update is available" "restart now button" floating notification prompt less obtrusive?
I could imagine a setting like
"update.prompt": falsethat removes that prompt entirely. There will still be a notification dot on the gear icon in the corner saying a notification is available, which is the perfect amount of notification for me. It seems like adding this setting could be a separate feature request?