Vscode: Disable automatic updates but allow manual updates

Created on 31 May 2017  路  4Comments  路  Source: microsoft/vscode

image

feature-request install-update

Most helpful comment

I suggest a setting labelled update.behavior with the following options (each option progressively includes positive features of the previous):

  • none - Completely turns off update system.
  • manual - Turns off automatic updates in any form, but allows manually checking for updates.
  • notify - Turns off automatic download of updates, but automatically checks update availability and alerts user for manual download.
  • download - Downloads the update, but alerts the user for manual installation. (Does not automatically install upon restart.)
  • install - Downloads and installs the update automatically upon restart. (Allows user to continue working in current session and waits for restart.)
  • force - Downloads and installs the update automatically immediately. (Requires user to stop working in current session and restart to continue working.)
  • default - Follow a default behavior, which could be predefined internally as any of the other options (most likely the install option). _This option allows Microsoft to change default behavior from version to version, without affecting users who selected a non-default behavior._

Also please add a boolean setting labelled update.useMeteredConnection that works on operating systems that support detecting metered connections. The setting should default to false to prevent metered data usage for updates. However, updates would proceed as normal on regular unmetered connections.

All 4 comments

@normalser weird, do you have update.channel configured in settings maybe? Is this an unsigned version of Code?

@bpasero Yes, sorry - you are right. I wanted to turn off automatic update in order not to use data via Hot Spot and the only way to do it I guess is to switch channel to none.
Maybe it would make sense to be able to have channel set to default but be able to configure vscode not to do automatic updates (different setting?) - which would require user to manually click "Check for Updates..." Thanks

I suggest a setting labelled update.behavior with the following options (each option progressively includes positive features of the previous):

  • none - Completely turns off update system.
  • manual - Turns off automatic updates in any form, but allows manually checking for updates.
  • notify - Turns off automatic download of updates, but automatically checks update availability and alerts user for manual download.
  • download - Downloads the update, but alerts the user for manual installation. (Does not automatically install upon restart.)
  • install - Downloads and installs the update automatically upon restart. (Allows user to continue working in current session and waits for restart.)
  • force - Downloads and installs the update automatically immediately. (Requires user to stop working in current session and restart to continue working.)
  • default - Follow a default behavior, which could be predefined internally as any of the other options (most likely the install option). _This option allows Microsoft to change default behavior from version to version, without affecting users who selected a non-default behavior._

Also please add a boolean setting labelled update.useMeteredConnection that works on operating systems that support detecting metered connections. The setting should default to false to prevent metered data usage for updates. However, updates would proceed as normal on regular unmetered connections.

This is done:

image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

biij5698 picture biij5698  路  3Comments

shanalikhan picture shanalikhan  路  3Comments

ryan-wong picture ryan-wong  路  3Comments

curtw picture curtw  路  3Comments

VitorLuizC picture VitorLuizC  路  3Comments