C++ code editing tools for GitHub Copilot in public preview

Published: (December 16, 2025 at 01:28 PM EST)
2 min read

Source: GitHub Changelog

Overview

C++ code editing tools for GitHub Copilot are now in public preview in the latest Visual Studio 2026 Insiders release. These tools extend Copilot’s ability to understand and modify C++ code at scale by providing deep symbol awareness for reliable multi‑file editing support.

The C++ code editing tools provide rich semantic data for any symbol in your project, enabling Copilot agent mode to:

  • View all references across a codebase.
  • Understand symbol type, declaration, scope, and other metadata.
  • Visualize class inheritance hierarchies.
  • Trace function call chains.

How to get started

  1. Open your C++ project in Visual Studio 2026 Insiders.
  2. Go to Tools → Options, GitHub → Copilot and enable the C++ code editing tools.
    • You may need to close and reopen your solution after enabling.
  3. Open Copilot Chat and use the Tools icon to enable the specific C++ tools.

The C++ code editing tools that GitHub Copilot can call in Visual Studio's agent mode, including get_Symbol_references, get_symbol_info, and other C++ language service operations

GitHub Copilot can then call upon these tools to provide more accurate and context‑aware code suggestions, making your coding experience smoother and more efficient. For example, the tools can help you update all instances of a function when adding new functionality or changing parameters.

An example of C++ code editing tools helping out a prompt by getting relevant symbol information and references

For best results, use a model optimized for tool calling and provide clear, specific prompts with explicit symbols when possible.

Tell us your feedback

To submit feedback, please report problems or suggest improvements through the Visual Studio feedback icon.

Visual Studio feedback icon with a pull‑down menu showing options for submitting bug reports and suggestions

Back to Blog

Related posts

Read more »