43

I updated my VS Code at the morning and now at night it shows a badge on setting icon for install updates. As it seems VS Code update files arrives every second to second and it makes me to install updates (it makes you to close editor and when you want to open it, take a long time to install the new updates and then opens the updated version).

I know that being up to date is cool but forcing you to update twice a day is not cool for me, so is there any way to disable vs code from updating?

halfer
  • 19,824
  • 17
  • 99
  • 186
amdev
  • 6,703
  • 6
  • 42
  • 64

3 Answers3

60

Have you tried updating JSON User settings to "update.mode": "none"

Navigation steps:

File > Preferences > Settings or [ Ctrl + Shift + , ]

References:

https://code.visualstudio.com/docs/supporting/FAQ

Following block of text is from the FAQ VS Code

How do I opt out of VS Code auto-updates?

By default, VS Code is set up to auto-update for macOS and Windows users when we release new updates. If you do not want to get automatic updates, you can set the update.channel setting from default to none.

To modify the update channel, go to File > Preferences > Settings and add the update.channel setting with the value "none".

"update.mode": "none"
Smart Manoj
  • 5,230
  • 4
  • 34
  • 59
Clint
  • 6,011
  • 1
  • 21
  • 28
  • 2
    For some reason, this update was killing my machine. Just wanted to add that this change has to go into the User Settings, not the Workspace settings. – ouflak Aug 14 '18 at 07:21
  • This answer should be updated to explicitly call out User settings. It does not work in the Workspace settings. – DAG Oct 24 '18 at 18:47
  • 4
    This is the correct answer. However I am using v 1.31 and it has a proper UI for settings. You click **User Settings > Application > Update** and change to **manual**. Honestly I don't know the difference between manual and none. The description is rather vague. – John Henckel Apr 24 '19 at 15:50
  • In Mac, it's Code > Preferences > Settings. – Charlie 木匠 Mar 04 '20 at 20:28
  • The change doesn't seem to stick if done in a VS code window with a remote session active. Need to ensure that no remote connection exists and the change to the setting requires a restart. Then it will finally stick. It really sucks when an update occurs unexpectedly because the transfer of the new version to the remote computer when using the remote explorer extension is terribly slow. – shawn1874 Jun 14 '23 at 16:55
13

I had this problem for a long time and solved as in the steps in the screenshot. I set it to manual and it works:

enter image description here

The none option works so no clear difference between the two options.

NJENGAH
  • 955
  • 15
  • 12
3

go to File > Preferences > Settings (macOS: Code > Preferences > Settings), search for update mode and change the setting to none

pasan
  • 33
  • 4