Visual Studio Code (VS Code) is a powerful and widely used code editor, loved by developers for its versatility and features.
However, one aspect that might not sit well with everyone is its default auto-update feature.
While staying up-to-date is essential for security and performance reasons, some users prefer to have more control over when and how their software updates.
In this article, we will guide you through the steps to stop or disable the auto-update feature in VS Code, ensuring you can manage updates on your terms.
Launch Visual Studio Code on your computer.
Click on “File” in the top-left corner, and then select “Preferences.” (On macOS, it’s under “Code”).
Under the “Preferences” menu, click on “Settings” or use the shortcut (Ctrl+,
) on Windows or (Cmd+,
) on Mac.
In the Settings menu, you will find a search bar. Type “update mode” into the search bar.
Locate the “Update: Mode” setting in the results and click on it.
By default, it is set to “default.” Change it to “none” to disable auto-updates.
If you prefer using the JSON editor for your settings, you can achieve the same result. Simply add the following line to your settings:
"update.mode": "none"
To access the JSON editor, click on the copy like button on the right-hand side.
Add the code to the JSON file right before the closing curly braces.
Note:
Sometimes, you might not find the “Save” button but it’s going to prompt you to restart your VSCode.
In addition to disabling auto-updates for VS Code itself, you might also want to prevent extensions from updating automatically. Here’s how:
Open the Settings editor by pressing Ctrl+,
(or Cmd+,
on macOS).
Type “Extensions: Auto Update”
Look for the “Extensions: Auto Update” check box.
Clear the checkbox to opt out of automatic extension updates.
If you prefer using the JSON editor for your settings, add the following line:
"extensions.autoUpdate": false
By following these steps, you can ensure that both your VS Code and its extensions will no longer update automatically, giving you full control over your development environment.