GitHub Copilot 在 Visual Studio Code 中的 2026 年 6 月更新
英文标题:GitHub Copilot in Visual Studio Code, June 2026 releases
本次更新涵盖 VS Code 1.123 至 1.127 版本,于 2026 年 6 月至 7 月初发布。新版本显著增强了智能体任务管理、成本透明度和模型发现功能,并推出集成浏览器、并行会话等特性。Autopilot 权限变得更加“放手”,配合工作区信任改进与托管设置,让开发者在更长任务中保持高效可控。这些更新帮助团队更清晰地理解使用与消耗,提升构建信心。
9.1 KB
135.0 KB
中文
本次更新日志涵盖 VS Code v1.123 至 v1.127,于 2026 年 6 月至 7 月初陆续发布。
最新的 VS Code 版本在开发者日常使用的 Copilot 体验上进一步发展,让智能体任务管理、使用情况了解、模型选择以及保持心流更加顺畅。从更聪明的集成浏览器到并行会话、更清晰的成本可见性、Marketplace 模型发现和更敏锐的 Autopilot 行为,这些更新帮助开发者更快速地推进,同时保持掌控。
集成浏览器将更多 Web 工作流带入 VS Code,包括搜索、截图、远程浏览和智能体驱动的验证。
- 智能体浏览器工具现已正式发布: 该功能默认启用,允许智能体直接在 VS Code 中导航页面、检查内容、截取屏幕截图并验证 Web 应用。更多信息请参见智能体浏览器工具预览版更新日志。
- 改进的浏览体验: 集成浏览器现在支持收藏夹、历史记录和网页搜索,以及摄像头、位置、麦克风等权限。
- 为智能体提供网页上下文的新方式: 现在可以选择将截图或区域截图添加到聊天中。
- 从远程工作区浏览: 在远程工作区打开集成浏览器时,HTTP(S) Web 流量现在可以通过远程连接进行代理。此功能为公开预览。
代理窗口持续增强,便于组织并行会话和聊天,使其井然有序且易于导航。
- 并排运行会话: 让不同的智能体任务同时保持可见和活跃。
- 在一个会话中使用多个聊天: 将较大的变更拆分为专注的工作流,这样可以将实现、评审、测试和文档分开,同时仍能在一个地方管理整体任务。
- 智能体会话组织: 通过将相关会话分组或拖拽会话来重新排列,让代理窗口保持整洁。
成本可见性在整个会话、委托工作与额外 Copilot 支出方面都更加清晰。
模型提供方发现功能现在可直接从 VS Code 发起,让为不同任务添加与调优模型更加容易。
Autopilot,这种允许智能体无需每步确认即可行动的权限级别,现在更加放手,且能更好地将任务贯彻到底。
- 会话同步与编年史: 将聊天会话同步到 GitHub 账户,并可跨机器和工作区搜索编码历史。
- 行槽反馈: 直接从编辑器行槽中为智能体的更改留下评论。
- 更智能的拉取请求创建: 从会话创建拉取请求,标题和描述由会话上下文生成。
- 1M 上下文窗口: 配合兼容的 Anthropic 与 OpenAI 模型,使用大得多的上下文窗口来处理更大的代码库和更长的对话。
- 模型悬停卡片: 查看快速模型描述,并直接跳转到相关配置选项。
- 官方 Ollama 扩展: 从内置 Ollama 提供程序迁移至官方 VS Code 扩展,以获得更快的模型和功能更新。
- 托管 Copilot 设置: 通过 Windows 和 macOS 的原生设备管理交付 Copilot 配置。
- 基于文件的托管设置: 对于未注册设备管理的机器,从 JSON 文件应用托管 Copilot 设置。
- MCP OAuth 凭证: 配置预注册的 OAuth 客户端 ID,并将客户端机密保存在 VS Code 机密存储中。
- 扩展自动更新延迟: 在自动安装新发布的扩展版本之前,实施两小时延迟,为团队提供安全缓冲。
- 工作区信任改进: 先安全浏览新文件夹,准备就绪后再信任该文件夹。
综合来看,这些更新持续为智能体开发演进 VS Code。智能体可以处理更长期的任务,开发者能更清晰地看到成本和模型,团队则获得更好的工具来构建并自信交付。
如需完整详情,请浏览以下版本的完整发布说明:Visual Studio Code 1.123、1.124、1.125、1.126 与 1.127。
立即安装最新版 Visual Studio Code,祝编码愉快!
English / 原文
This changelog covers VS Code v1.123 through v1.127, shipped throughout June and early July 2026.
The latest VS Code releases build on the Copilot experience developers use every day, making it easier to manage agent work, understand usage, choose the right models, and stay in the flow. From a smarter integrated browser to parallel sessions, clearer cost visibility, Marketplace model discovery, and sharper Autopilot behavior, these updates help developers move faster while staying in control.
The integrated browser brings more of your web workflow into VS Code, including search, screenshots, remote browsing, and agent-driven validation.
- Agentic browser tools are now generally available: This is enabled by default, allowing agents to navigate pages, inspect content, capture screenshots, and validate web apps directly in VS Code. For more information, see our changelog for the preview release of agentic browser tools.
- Improved browsing experience: The integrated browser now has favorites, history, and web search, as well as permissions for camera, location, microphone, and more.
- New ways to give web page context to the agent: You now have options for adding a screenshot or area screenshot to chat.
- Browse from remote workspaces : When the integrated browser is opened in a remote workspace, HTTP(S) web traffic can now be proxied through the remote connection. This feature is in public preview.
The Agents window continues to grow with enhancements for keeping parallel sessions and chats organized and easy to navigate.
-
Run sessions side by side: Keep separate agent tasks visible and active at the same time.
-
Use multiple chats in one session: Break a larger change into focused workstreams, so you can keep implementation, review, testing, and docs separate while still managing the overall task in one place.
-
Agent session organization: Tidy up your Agents window by grouping related sessions or dragging and dropping your sessions to rearrange them.
Cost visibility is clearer across whole sessions, delegated work, and additional Copilot spend.
Model provider discovery now starts directly from VS Code, making it easier to add and tune models for different tasks.
Autopilot, the permission level that lets agents act without checking in at every step, is now more hands-off and better at seeing tasks through.
-
Session sync and chronicle: Sync chat sessions to your GitHub account and search coding history across machines and workspaces.
-
Gutter feedback: Leave comments on an agent’s changes directly from the editor gutter.
-
Smarter pull request creation: Create a pull request from a session with the title and description generated from session context.
-
1M context windows: Work with compatible Anthropic and OpenAI models using much larger context windows for bigger codebases and longer conversations.
-
Model hover cards: See a quick model descriptor and jump directly to relevant configuration options.
-
Official Ollama extension: Move from the built-in Ollama provider to the official VS Code extension for faster model and capability updates.
-
Managed Copilot settings: Deliver Copilot configuration through native device management on Windows and macOS.
-
File-based managed settings: Apply managed Copilot settings from a JSON file for machines that are not enrolled in device management.
-
MCP OAuth credentials: Configure preregistered OAuth client IDs and keep client secrets in VS Code secret storage.
-
Extension auto-update delay: A two-hour delay is applied before automatically installing newly published extension versions, giving teams a safety buffer.
-
Workspace Trust improvements: Browse new folders safely first, then trust the folder when ready.
Taken together, these updates continue to evolve VS Code for agentic development. Agents can work across longer-running tasks, developers get clearer visibility into costs and models, and teams gain better tools for building and shipping with confidence.
For the full details, browse the complete release notes across these versions: Visual Studio Code 1.123, 1.124, 1.125, 1.126 and & 1.127.
Install the latest version of Visual Studio Code today, and as always happy coding!