How Do I Disable VS Code of Updating Itself?

VS Code has many features that make it a suitable IDE for developers. Learning VS Code settings can take some time. The most common thing that might annoy users is its auto-update feature. Though it might be useful for some, it can be irritating for others.

In this article, we will learn how to disable VS Code auto-update settings. Stay until the end, as we will also cover how to disable VS Code extension updates.

How Do I Disable VS Code Auto Updates?

If you are also fed up with frequent updates on VS Code and want to turn them off, then use these two simple methods. Auto updates can be stopped using the Settings and JSON file methods.

Method 1: Disable VS Code Auto Update Using Settings

Step 1: Click on ⚙️icon at the left-bottom and select settings options.

Step 2: Hit the enter button after typing Update in the search bar.

Step 3: Under Update Mode settings, select None or Manual or Start as needed.

Option 1: Set VS Code Update Mode None

If you want to switch off automatic updates altogether, configure the VS Code Update mode to ‘none’. This will make all updates related to VS Code stop.

Option 2: Set VS Code Update Mode Manual

The ideal way of turning off automatic background update checks is by adjusting the update mode to manual. In this way, an upgrade will only be done if one looks for it manually; hence, installations are also restricted to necessary versions only.

Option 3: Set VS Code Update ModeStart

By setting the VS Code update mode to start, updates will only be checked when the program starts up, disabling automatic background update checks. This means updates won’t download or install unless you restart VS Code.

After selecting your preferred option, you should restart Visual Studio code so that changes can take effect.

Step 4: Click the Restart button to apply the setting.

Method 2: Disable VS Code Auto Update Using JSON File

Another method to stop automatic Visual Studio Code updates is by creating a JSON file. Here’s how to do it.

Step 1: Click on ⚙️icon at the left-bottom and select settings options.

Step 2: Click on the file icon to open JSON File Settings

Step 3: Add this code to the command line and hit enter to disable VS Code auto-updates.

"update.mode": "none"

Step 4: Press Ctrl + S to Save this file and restart the system to apply settings.

How to Disable VS Code Extensions Auto Update?

There are many numbers of extensions in the market now for VS Code and they constantly require updating. Disable these regular updates if you do not want them using any of these two ways recommended.

Method 1: Disable VS Code Extensions Auto Update Using Settings

Step 1: Click on ⚙️icon at the left-bottom and select settings options.

Step 2: Hit the enter button after typing Update in the search bar.

Step 3: Under Extensions: Auto Check Updates, uncheck the box as shown below.

Step 4: Now Under Extensions: Auto Update option. select None to disable the extensions auto-update.

Restart the VS Code again if prompted.

Method 2: Disable VS Code Extensions Auto Update Using JSON File

Step 1: Press Ctrl + comma [Ctrl +,] to open Settings.

Step 2: Click on the file icon to open JSON File Settings

Step 3: Add the following code to the command line and hit enter to disable extensions auto-updates.

"extensions.autoCheckUpdates": false,
"extensions.autoUpdate": false

Step 4: Press Ctrl + S to Save this file and restart the system to apply settings.

In conclusion, it’s easy and beneficial to disable unneeded VS Code updates. You may turn them off at any time and enable them again by simply changing Update Mode from None to Default.

How Do I Disable VS Code of Updating Itself – FAQs

What is the keyboard shortcut to open VS Code settings?

The keyboard shortcut to open VS Code settings is Ctrl+, (Ctrl+Comma).

How do I disable automatic VS Code updates?

To disable automatic VS code updates, set the Update Mode option to none in the settings.

How do I disable automatic extension updates in VS Code?

To disable automatic VS code extension updates, uncheck the Extensions: Auto Check Updates option and set Extensions: Auto Update to None in the settings.

How to stop VS Code from checking for updates on startup?

To stop VS Code from checking for updates on startup, set the Update Mode option to manual in the settings.

How do I enable automatic VS Code updates again?

To re-enable the auto-update feature for Visual Studio Code, set back Update: Mode option to default from settings.

How to enable auto-updates for VS Code extensions using JSON files?

To enable auto-update for VS Code extensions using JSON file, Open setting.json file and enter the following code:

"extensions.autoCheckUpdates": true
"extensions.autoUpdate": true

Where is the settings.json file located in VS Code?

The settings.json file can be accessed by clicking the File icon in the top right corner of the Settings screen.