---
title: "Visual Studio April Update – Cloud Agent Integration"
source_name: "Visual Studio Blog"
original_url: "https://devblogs.microsoft.com/visualstudio/visual-studio-april-update-cloud-agent-integration/"
canonical_url: "https://www.traeai.com/articles/f40297d7-8f80-4f00-86a1-7b7160640317"
content_type: "article"
language: "英文"
score: 8.5
tags: ["Visual Studio","GitHub Copilot","C++","开发工具"]
published_at: "2026-04-28T19:00:04+00:00"
created_at: "2026-04-28T23:21:59.612975+00:00"
---

# Visual Studio April Update – Cloud Agent Integration

Canonical URL: https://www.traeai.com/articles/f40297d7-8f80-4f00-86a1-7b7160640317
Original source: https://devblogs.microsoft.com/visualstudio/visual-studio-april-update-cloud-agent-integration/

## Summary

Visual Studio 2026 四月更新引入云代理集成，支持远程编码会话、自定义代理和 C++ 编辑工具。

## Key Takeaways

- 新增云代理功能，可直接从 IDE 启动远程编码会话并生成 PR。
- 用户级自定义代理扩展支持，跨项目复用配置更灵活。
- C++ 代码编辑工具正式发布，提升 Copilot 对 C++ 代码库的理解能力。

## Content

Title: Visual Studio April Update – Cloud Agent Integration

URL Source: http://devblogs.microsoft.com/visualstudio/visual-studio-april-update-cloud-agent-integration/

Published Time: 2026-04-28T19:00:04+00:00

Markdown Content:
April 28th, 2026

0 reactions

![Image 1: Mark Downie](https://devblogs.microsoft.com/visualstudio/wp-content/uploads/sites/4/2021/08/20210412-mdownie-x-small-96x96.jpg)

Principal Product Manager

GitHub Copilot in Visual Studio is becoming more agentic with every release. This update brings cloud agent integration front and center, letting you start remote coding sessions without leaving the IDE. Custom agents now support user-level definitions that travel with you across projects, C++ code editing tools for agent mode are generally available, and a new Debugger Agent that validates fixes against real runtime behavior.

Download [Visual Studio 2026](https://visualstudio.microsoft.com/downloads/) to try everything in this update.

### Cloud agent integration

Cloud agents run on remote infrastructure for scalable, isolated execution, and you can now start new sessions directly from Visual Studio. Select **Cloud** from the agent picker in the **Chat** window, describe the work you need help with, and the cloud agent takes it from there.

[![Image 2: The Chat agent picker with Cloud selected and a tooltip reading - Create a remote coding session](https://devblogs.microsoft.com/visualstudio/wp-content/uploads/sites/4/2026/04/vs18.5_cloud-agent-from-picker-updated.webp)](https://devblogs.microsoft.com/visualstudio/wp-content/uploads/sites/4/2026/04/vs18.5_cloud-agent-from-picker-updated.webp)

The workflow starts by asking for permission to open an issue in your repository, then creates a pull request to address it. While the cloud agent prepares the PR, you can keep working on other tasks in Visual Studio or close the IDE entirely and come back later. When the PR is ready, you get a notification with options to **View PR** or **Open in browser**.

[![Image 3: GitHub Copilot Chat showing the full cloud agent workflow: issue creation confirmation, successful issue creation, and a pull request with View PR and Open in browser buttons](https://devblogs.microsoft.com/visualstudio/wp-content/uploads/sites/4/2026/04/vs18.5_cloud-agent-flow-494x1024.webp)](https://devblogs.microsoft.com/visualstudio/wp-content/uploads/sites/4/2026/04/vs18.5_cloud-agent-flow.webp)

Cloud agent in Visual Studio is currently powered by [Copilot coding agent](https://docs.github.com/copilot/using-github-copilot/using-the-github-copilot-coding-agent). To use it, make sure you are in a GitHub repository and that Copilot has permission to create issues in that repository. This is a different way of working that frees you up to focus on the parts of your project that need your full attention.

### Build your own custom agents

[Custom agents launched last month](https://developercommunity.visualstudio.com/t/Custom-modes-for-Copilot-Chat/10950930?q=custom+agents) with support for repository-based `.agent.md` files. This update extends the story with user-level agents that travel with you across projects.

User-level agents are stored in `%USERPROFILE%/.github/agents/` by default. You can change this location in **Tools > Options > GitHub > Copilot > Copilot Chat > Custom agents user directory**. Creating new agents is also easier now: click the **+** button in the agent picker and follow the prompts.

[![Image 4: Agent picker showing built-in agents (Agent, Ask, Copilot CLI, Debugger, Modernize, Profiler) and user-created custom agents (Accessibility Expert, C# Expert, C#/.NET Janitor) with a + button for creating new agents](https://devblogs.microsoft.com/visualstudio/wp-content/uploads/sites/4/2026/04/vs18.5_custom-agents.webp)](https://devblogs.microsoft.com/visualstudio/wp-content/uploads/sites/4/2026/04/vs18.5_custom-agents.webp)

Everything you could do with repository-based agents still works: workspace awareness, code understanding, tools, model selection, and MCP connections to external knowledge sources like internal documentation, APIs, and databases. The community has been sharing agent configurations on the [awesome-copilot](https://github.com/github/awesome-copilot) repository if you are looking for starting points. We’d love to see what you build.

### C++ code editing tools for agent mode

C++ Code Editing Tools for GitHub Copilot agent mode are now generally available by default. These tools give Copilot language-aware navigation of your C++ codebase, helping it map out class inheritance hierarchies and follow function call chains when refactoring or modifying code.

To get started, open a C++ project with [IntelliSense](https://learn.microsoft.com/cpp/ide/using-the-visual-studio-ide-for-cpp-desktop-development) configured and enable the tools using the **Tools** icon in Copilot Chat. The two available tools are `get_symbol_call_hierarchy` and `get_symbol_class_hierarchy`.

[![Image 5: Built-In tools panel showing C++ Tools expanded with get_symbol_call_hierarchy and get_symbol_class_hierarchy both enabled](https://devblogs.microsoft.com/visualstudio/wp-content/uploads/sites/4/2026/04/vs18.5_cpp-tools-list-2.webp)](https://devblogs.microsoft.com/visualstudio/wp-content/uploads/sites/4/2026/04/vs18.5_cpp-tools-list-2.webp)

Once enabled, Copilot uses these tools automatically. For example, you can ask Copilot to analyze the major classes in a file and it will use `get_symbol_class_hierarchy` to trace inheritance and usage relationships across your codebase.

[![Image 6: Copilot Chat using get_symbol_class_hierarchy to analyze classes like b3HashedOverlappingPairCache, b3SortedOverlappingPairCache, and b3OverlappingPairCache, showing completed tool calls with results](https://devblogs.microsoft.com/visualstudio/wp-content/uploads/sites/4/2026/04/vs18.5_class-hierarchy-highlight-300x248.webp)](https://devblogs.microsoft.com/visualstudio/wp-content/uploads/sites/4/2026/04/vs18.5_class-hierarchy-highlight.webp)

If you work with large C++ codebases, these tools make a real difference. They work best with AI models that support tool-calling, so check the [model comparison page](https://docs.github.com/copilot/reference/ai-models/model-comparison) to see which ones are compatible.

### Agentic Issue to Resolution

Debugging with static analysis only gets you so far. The new Debugger Agent workflow validates bugs against real runtime behavior, walking you through a complete loop from understanding the issue to verifying the fix through live execution.

Start from a GitHub or Azure DevOps issue, or describe the bug in natural language. Switch to **Debugger** mode using the dropdown in the lower-left corner of the chat, and the agent maps the problem to your local source code. From there, it works through a structured process: creating a minimal reproducer, generating failure hypotheses, instrumenting your app with tracepoints and conditional breakpoints, running the debug session to analyze live telemetry, and suggesting a precise fix at the exact failure point.

You can interact with the agent during the debugging process to provide additional context, discuss your theory, or refine the fix in real time. This is debugging that works _with_ you, not just _for_ you.

### IntelliSense takes priority over Copilot

Seeing [IntelliSense](https://learn.microsoft.com/visualstudio/ide/using-intellisense) and Copilot completions at the same time can be distracting. We [heard your feedback](https://developercommunity.visualstudio.com/t/Avoid-IntelliSense-and-Copilot-conflicts/11038262), and the editor now prioritizes the IntelliSense completion list, showing only one suggestion at a time.

Video Player

When IntelliSense is active, Visual Studio temporarily suppresses Copilot completions so you can focus on your current selection. After you dismiss or commit the IntelliSense selection, Copilot completions resume automatically. This behavior is enabled by default, so just update and code as you normally do.

### Customizable Copilot keyboard shortcuts

You can now [customize the keyboard shortcuts](https://developercommunity.visualstudio.com/t/Copilot-keyboard-shortcut-to-accept-sugg/10605774) for accepting Copilot inline suggestions. Whether you want to change the key for accepting a full suggestion, the next word, or the next line, it is all available in standard keyboard settings.

Head to **Tools > Options > Environment > Keyboard** and search for the commands: `Edit.AcceptSuggestion`, `Edit.AcceptNextWordInSuggestion`, or `Edit.AcceptNextLineInSuggestion`. Remove the existing binding and assign your preferred shortcut under the **Inline Suggestions Active** scope.

[![Image 7: Options dialog showing Environment > Keyboard settings with Edit.AcceptSuggestion selected, the current Tab shortcut visible, and fields to assign a new shortcut under the Inline Suggestions Active scope](https://devblogs.microsoft.com/visualstudio/wp-content/uploads/sites/4/2026/04/vs18.5_change-copilot-shortcut.webp)](https://devblogs.microsoft.com/visualstudio/wp-content/uploads/sites/4/2026/04/vs18.5_change-copilot-shortcut.webp)

Your new shortcut appears throughout the editor hint bar, so you always know which key to press.

[![Image 8: Editor hint bar showing Ctrl+Tab as the updated Accept shortcut alongside Esc to Dismiss](https://devblogs.microsoft.com/visualstudio/wp-content/uploads/sites/4/2026/04/vs18.5_changed-shortcut-in-editor.webp)](https://devblogs.microsoft.com/visualstudio/wp-content/uploads/sites/4/2026/04/vs18.5_changed-shortcut-in-editor.webp)

* * *

From our entire team, thank you for choosing Visual Studio! For the latest updates, resources, and news, check out the [Visual Studio Hub](https://aka.ms/vshub) and stay in touch.

**Happy coding!**_The Visual Studio team_

## Author

![Image 9: Mark Downie](https://devblogs.microsoft.com/visualstudio/wp-content/uploads/sites/4/2021/08/20210412-mdownie-x-small-96x96.jpg)

Principal Product Manager

Mark Downie is a Lead Product Manager on the Visual Studio team. He blogs about how you can use Visual Studio to get to the bottom of gnarly issues in production.
