Refactor C++ Code with C++ Code Editing Tools for GitHub Copilot in Visual Studio
Microsoft Developer demonstrates new C++ code editing tools for GitHub Copilot in Visual Studio, showcasing enhanced refactoring support through deeper code analysis and context-aware suggestions.
Refactor C++ Code with C++ Code Editing Tools for GitHub Copilot in Visual Studio
Overview
This video showcases the C++ code editing tools for GitHub Copilot, now in private preview for Visual Studio 2026 Insiders. These tools are designed to improve the accuracy and speed of wide-sweeping C++ refactoring by integrating the power of C++ IntelliSense into Copilot’s capabilities.
Key Features
- Broad Refactoring Support: Perform large-scale C++ code changes faster with GitHub Copilot using enhanced code understanding.
- IntelliSense Integration: Access detailed context for any C++ symbol, including metadata such as type, declaration, and scope.
- Codebase Exploration:
- View all references across the codebase
- Understand class inheritance hierarchies
- Trace function call chains
- Agent Mode: Utilizes Visual Studio’s agent mode to provide Copilot with deeper project context.
Getting Started
- Sign Up for Private Preview:
- Register for the C++ Code Editing Tools for GitHub Copilot private preview at aka.ms/code-editing-tools-private-preview.
- Download Visual Studio 2026 Insiders:
- Ensure you have the latest Visual Studio 2026 Insiders build installed to access these features.
- Learn More:
- Detailed documentation and feature overview: aka.ms/cppagents
Benefits for Developers
- Improve productivity and code accuracy when refactoring large C++ projects
- Get intelligent code completion and navigational insights directly through GitHub Copilot
- Leverage Microsoft’s latest advancements in code understanding within familiar development environments