Microsoft Dev Blogs

Understand your C++ symbols using Copilot in Visual Studio’s Quick Info

    thumbnail

    Introduction

    • Quick Info in Visual Studio now integrates Copilot to provide more information about C++ symbols.
    • Users can hover over symbols to access Copilot within the Quick Info dialog for a better understanding of the code.

    How it works

    • Copilot complements existing or missing documentation by providing natural language explanations about symbols.
    • Simply hover over a symbol, click the link, and learn about its functionality without having to navigate through code.
    • Copilot analyzes the declaration and definition of symbols to offer insights into their purpose.

    Try it out

    • Available in C++ codebases in Visual Studio 2022 version 17.10.
    • Requires an active GitHub Copilot subscription for access.
    • Download the latest Visual Studio version to utilize this feature.

    Future updates

    • Upcoming support for other languages is in the works.
    • Feedback on enhancements for C++ integrations with Copilot Chat is welcome.
    • Users can suggest improvements or new features for C++ workflows.

    Contact

    • Feedback can be shared via comments, email at visualcpp@microsoft.com, or on Twitter at @VisualC.
    • Sinem Akinci, Program Manager II of Visual C++ Team, is leading these developments in Visual Studio.