官方更新 GitHub Changelog Thu, 30 Jul 2026 正文 ok 379 words

Visual Studio 中的 GitHub Copilot:7 月更新

英文标题:GitHub Copilot in Visual Studio — July update

2026 年 7 月,Visual Studio 中的 GitHub Copilot 推出基于 Copilot SDK 的新 Agent(预览版),旨在以更少的来回交互提升首次完成任务的准确率,并提供更简洁的响应。Visual Studio 还新增了由 .NET 和 Azure 团队专家编写的内置技能,开发者可按需启用以定制 Agent 工作流。此次更新还支持对选定代码进行 Copilot 审查,以及面向 GitHub 组织的统一自定义指令配置。除组织级自定义指令需要 GitHub Copilot Business 或 Enterprise 外,新 Agent、内置技能和选定代码审查功能面向所有套餐提供。
打开原文相关 3 · 机会 4
media12.2 KB media26.4 KB

中文

2026 年 7 月带来了一个基于 Copilot SDK 的新 Agent、来自 .NET 和 Azure 团队的内置专业能力,以及更多可让 GitHub Copilot 适应你和团队工作方式的定制选项。

以下是 Visual Studio 2026 中 GitHub Copilot 的最新功能。请查看 Insiders 渠道以获取最新更新:

  • 试用现已公开预览的新 Agent:Copilot Chat 的 Agent 选择器新增了 Agent(预览版) 选项,其构建于同一套 GitHub Copilot SDK 之上,该 SDK 也为 GitHub Copilot CLI 提供支持。它能够以更少的来回交互,在首次尝试时正确完成更多任务;响应内容也更短、更便于浏览。可在 Copilot Chat 窗口底部的 Agent 选择器中选用它。
  • 内置 .NET 和 Azure 技能:Visual Studio 现已包含由 .NET 和 Azure 团队专家编写的内置技能,可帮助你定制 Agent 工作流。在安装相应工作负载后,可在工具选择器的“Built-in”类别中找到这些技能。它们默认处于关闭状态,因此你可以审查并仅启用适合自己任务的技能。
  • 使用 Copilot 审查选定代码:有时,你只需要针对某一段特定代码获得第二意见。在编辑器中选中代码,右键单击并选择 Copilot Actions > Review Selection,即可获得可直接处理的内联评论。使用任意评论上的闪光图标,可应用建议,或让 Copilot 生成建议;该功能由 GitHub Copilot 代码审查提供支持。
  • 组织级自定义指令:GitHub 组织所有者现在可以添加自定义指令,以在整个组织范围内调整 Copilot 的响应,无需为每位开发者分别配置共享偏好。这些指令会自动应用于属于你组织的仓库,并显示在参考列表中;你也可以在 Tools > Options > GitHub > Copilot > Copilot Chat 下将其禁用。

不同功能的可用性有所不同。组织级自定义指令需要 GitHub Copilot Business 或 GitHub Copilot Enterprise。新 Agent、内置技能和选定代码审查功能适用于所有套餐。详情请参阅 GitHub Copilot 套餐。

如需进一步了解最新功能,请查看 Visual Studio 博客和发行说明。

请关注 Visual Studio 博客,及时了解最新 Copilot 功能;你可以在其中查看路线图更新,并获得分享反馈的机会。

English / 原文

July 2026 brought a new agent based on the Copilot SDK, built-in expertise from the .NET and Azure teams, and more ways to tailor GitHub Copilot to how you and your team work.

Here’s what’s new with GitHub Copilot in Visual Studio 2026. Check the Insiders channel for the latest:

  • Try the new agent, now in public preview : Copilot Chat has a new Agent (Preview) option in the agent picker, built on the same GitHub Copilot SDK that powers the GitHub Copilot CLI. It gets more tasks right the first time with less back-and-forth. Responses are shorter and easier to scan. Select it from the agent picker at the bottom of the Copilot Chat window.
  • Built-in .NET and Azure skills : Visual Studio now includes built-in skills authored by experts from the .NET and Azure teams to help you customize your agentic workflow. Find them in the “Built-in” category of the tool picker when the corresponding workloads are installed. They’re off by default, so you can review and enable only the ones that fit your tasks.
  • Review selected code with Copilot : Sometimes you just want a second opinion on a specific block of code. Select code in the editor, right-click, and select Copilot Actions > Review Selection to get inline comments you can act on. Use the sparkle icon on any comment to apply a suggestion or have Copilot generate one, powered by GitHub Copilot code review.
  • Organization-level custom instructions : GitHub organization owners can now add custom instructions that tailor Copilot’s responses across the entire organization, so shared preferences don’t have to be configured per developer. They automatically apply in repositories that belong to your organization and appear in the reference list, and you can disable them under Tools > Options > GitHub > Copilot > Copilot Chat.

Availability varies by feature. Organization-level custom instructions require GitHub Copilot Business or GitHub Copilot Enterprise. The new agent, built-in skills, and selected-code review features are available in all plans. See GitHub Copilot plans for details.

To learn more about what’s new, check out the Visual Studio blog and release notes.

Stay up to date on the latest Copilot features by following the Visual Studio blog, where you’ll find roadmap updates and opportunities to share feedback.