News
Microsoft Brings Symbol-Aware, Multi-File GitHub Copilot Editing to C++ in Visual Studio 2026 Preview
- By David Ramel
- December 30, 2025
Microsoft is bringing GitHub Copilot’s most advanced Visual Studio integration to C++, allowing the AI assistant to tap into the compiler's understanding of whole C++ codebases. That deeper context enables Copilot to refactor and apply changes across multiple files, not just within a single document.
These new C++ editing capabilities are available now in public preview through the latest Visual Studio 2026 Insiders release, making C++—alongside C#—one of only two Visual Studio languages to support this kind of symbol-aware, multi-file Copilot editing.
In its Dec. 16 announcement, Microsoft positions the update as “refactoring at scale,” noting that broad, project-wide C++ modifications are both common and time-consuming. Historically, those efforts have required developers to manually hunt through code and implement a series of minor, incremental updates across many files.
The core change is that Copilot agent mode in Visual Studio can now invoke C++-specific code-editing tools that expose rich, project-wide symbol information. Microsoft says these tools let Copilot go beyond file search and operate with greater context when making changes that span multiple files and sections of a codebase.
According to a Dec. 16 GitHub changelog entry, the tools extend Copilot's ability to understand and modify C++ code "at scale" by providing deep symbol awareness to support more reliable multi-file editing.
Both announcements describe the same set of core capabilities, including Copilot being able to:
- View all references across a codebase
- Understand symbol type, declaration, scope, and other metadata
- Visualize class inheritance hierarchies
- Trace function call chains
Microsoft also shared a private preview data point from a participant: "With C++ code editing tools for GitHub Copilot in Visual Studio, we've seen noticeably better overall results, with fewer errors and faster processing on large projects."
For many Visual Studio users, the significance is not that Copilot can write or suggest C++ code, but that Copilot is being wired into a deeper IDE-level understanding of a C++ project. In Visual Studio, C# has long been the language most associated with deep semantic tooling, including reliable solution-wide refactoring, because the IDE can reason about symbols, types, and usage across an entire codebase.
This update is Microsoft applying a similar idea to C++: giving the Copilot agent mode access to the kind of symbol-level data needed to make coordinated changes across many files without relying solely on text context. In practical terms, the pitch is fewer missed references when changing a function signature, updating ownership semantics, or applying a systematic refactor across a large C++ solution.
The GitHub changelog outlines a basic setup flow: open a C++ project in Visual Studio 2026 Insiders, enable the C++ code editing tools under Tools > Options in the GitHub Copilot settings area, reopen the solution if needed, then enable the specific tools from Copilot Chat using the Tools icon. Larger view.]C++ Tools Setting (source: Microsoft).
Microsoft notes that tool names and UI may change during the public preview.
Microsoft says it plans to evolve its integration with Visual Studio tools and expand this kind of support to other Copilot surfaces, including Visual Studio Code. For now, the announcement marks a clear line: C++ is joining C# as a language where Copilot in Visual Studio is being positioned for deeper, project-wide refactoring workflows, not just file-by-file suggestions.
About the Author
David Ramel is an editor and writer at Converge 360.