如何禁用更新自身的 VS Code? [英] How do I disable VS Code of updating itself?

查看:46
本文介绍了如何禁用更新自身的 VS Code?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我早上更新了我的 VS Code,现在晚上它在安装更新的设置图标上显示了一个徽章.似乎 VS Code 更新文件每秒都会到达,它让我安装更新(它让你关闭编辑器,当你想打开它时,需要很长时间才能安装新的更新然后打开更新的版本)

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).

我知道保持最新很酷,但强迫你一天更新两次对我来说并不酷,那么有什么方法可以禁用 vs 代码更新吗?

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?

推荐答案

您是否尝试将 JSON 用户设置更新为 "update.mode": "none"

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

导航步骤:

文件 > 首选项 > 设置

参考文献:

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

以下文本块来自 FAQ VS Code

如何选择退出 VS Code 自动更新?

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

默认情况下,VS Code 设置为自动更新 macOS 和 Windows我们发布新更新时的用户.如果你不想自动更新,您可以将 update.channel 设置从默认设置为无.

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.

要修改更新频道,请转到文件 > 首选项 > 设置,然后添加值为none"的 update.channel 设置.

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

"update.mode": "none"

这篇关于如何禁用更新自身的 VS Code?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆