Visual Studio Code 1.125

关注我们的 LinkedIn, X, Bluesky


Release date: June 17, 2026

Update 1.125.1: The update addresses these issues.

Downloads: Windows: x64 Arm64 | Mac: Universal Intel silicon | Linux: deb rpm tarball Arm snap


Welcome to the 1.125 release of Visual Studio Code. This release brings a smarter integrated browser, more control over extension updates, and stronger enterprise management for Copilot.

祝编码愉快!


VS Code 正在逐步向所有用户推出。使用 VS Code 中的“检查更新”可立即获取最新版本。

要尽早体验新功能,请下载每日更新的 Insiders 版本,其中包含一发布即可用的最新更新。


代理

View your additional spend usage in VS Code

To make sure you stay ahead of overage charges, the Copilot status dashboard now shows the percentage of your additional Copilot budget that you've consumed, so you can adjust your usage before you hit your configured limit.

Screenshot showing additional spend limits in the Copilot status dashboard.

You can view detailed usage and manage your additional spend in the Copilot settings.

语言模型

Install model providers from the Language Models editor

Beyond Bring Your Own Key (BYOK) models, extensions can contribute their own model providers. Previously, to find such an extension, you needed to know the right tag (language-models) to search for in the Extensions view.

Now the Language Models editor has an Install Model Providers button that opens the Extensions view filtered to extensions that contribute model providers, making it easier to discover and install them. After you install a provider, its models appear in the model picker alongside any others you have configured.

To learn more, see the language models documentation.

集成浏览器

Web search from address bar

Setting: workbench.browser.searchEngine 在 VS Code 中打开 在 VS Code Insiders 中打开

Look up information without leaving VS Code: type a query into the integrated browser's address bar and it runs against your configured search engine, the same way it would in a standalone browser. Use the workbench.browser.searchEngine 在 VS Code 中打开 在 VS Code Insiders 中打开 setting to pick which search engine to use.

Screenshot showing a web search from the integrated browser's address bar.

Browse over remote connections (Preview)

Setting: workbench.browser.enableRemoteProxy 在 VS Code 中打开 在 VS Code Insiders 中打开

When the integrated browser is opened in a remote workspace, web traffic over HTTP(S) can now be proxied via the remote connection. This lets you securely connect to any ports or services that are only accessible from the remote machine.

This is a preview feature, so you might encounter bugs. Enable the workbench.browser.enableRemoteProxy 在 VS Code 中打开 在 VS Code Insiders 中打开 setting to try it out, and file any issues you encounter in the VS Code repository.

Better agentic interaction with forwarded ports

If you have forwarded a port in a remote workspace, previously agents could have difficulty opening the browser due to a potentially different port number.

Now, if an agent requests a port that has been forwarded (and the remote proxy is not enabled), the URL is rewritten and the agent is notified of the change.

编辑器体验

Extension auto-update setting

Setting: extensions.autoUpdate 在 VS Code 中打开 在 VS Code Insiders 中打开 此设置可由您的组织管理。请联系您的管理员进行更改。

You can enable or disable automatic extension updates with the extensions.autoUpdate 在 VS Code 中打开 在 VS Code Insiders 中打开 此设置可由您的组织管理。请联系您的管理员进行更改。 setting. In this release, we simplified the setting to use on and off values. Previous values such as true, false, onlyEnabledExtensions, and delayed are migrated automatically.

When auto-update is enabled, VS Code updates only enabled extensions. Disabled extensions are no longer updated automatically. They update the next time you enable them.

Note: Administrators can centrally manage the extensions.autoUpdate 在 VS Code 中打开 在 VS Code Insiders 中打开 此设置可由您的组织管理。请联系您的管理员进行更改。 and extensions.autoUpdateDelay 在 VS Code 中打开 在 VS Code Insiders 中打开 此设置可由您的组织管理。请联系您的管理员进行更改。 settings with enterprise policies.

Configurable extension auto-update delay

Setting: extensions.autoUpdateDelay 在 VS Code 中打开 在 VS Code Insiders 中打开 此设置可由您的组织管理。请联系您的管理员进行更改。

To give you more control over when extension updates are installed, you can now configure a delay for automatic extension updates. This builds on the delayed extension auto-updates feature introduced in the previous release.

Use the extensions.autoUpdateDelay 在 VS Code 中打开 在 VS Code Insiders 中打开 此设置可由您的组织管理。请联系您的管理员进行更改。 setting to configure the delay in hours. By default, VS Code waits two hours before installing extension updates. The delay only applies when auto-update is enabled.

扩展编写

语言服务器协议 (Language Server Protocol)

Extension authors who build language servers can now adopt the latest protocol features by updating to version 3.18 of the Language Server Protocol. The corresponding VS Code client and server packages are available as vscode-languageclient@10.0.0 and vscode-languageserver@10.0.0. For the full list of protocol additions and breaking changes, see the vscode-languageserver-node changelog.

企业

Native MDM delivery for managed Copilot settings

Administrators can now deliver managed GitHub Copilot settings through native device management (MDM) channels on Windows and macOS, in addition to the account-based enterprise settings file. This builds on the enterprise-managed Copilot plugin policies and lets organizations enforce Copilot configuration using their existing device management tooling, without depending on per-user sign-in to apply policy.

For developers, settings delivered through MDM appear as policy-enforced in VS Code and cannot be overridden locally. Future updates expand the set of supported policy keys across Copilot surfaces.

已弃用的功能和设置

致谢

vscode 的贡献

问题跟踪

对我们问题跟踪的贡献


我们非常感谢大家在新功能准备就绪后立即进行试用,请经常回来查看并了解新功能。

如果您想阅读以前 VS Code 版本的发行说明,请访问 code.visualstudio.com 上的更新页面。

English 한국어 中文(简体) 中文(繁體)
© . This website operates independently and is not affiliated with or endorsed by Microsoft. All brand names, logos, and trademarks are the property of their respective owners.