{"id":35811,"date":"2025-10-29T16:06:33","date_gmt":"2025-10-29T16:06:33","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/cppblog\/?p=35811"},"modified":"2025-11-17T19:54:10","modified_gmt":"2025-11-17T19:54:10","slug":"new-github-copilot-capabilities-for-c-developers-upgrade-msvc-improve-build-performance-and-refactor-c-code","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cppblog\/new-github-copilot-capabilities-for-c-developers-upgrade-msvc-improve-build-performance-and-refactor-c-code\/","title":{"rendered":"New GitHub Copilot capabilities for C++ developers: Upgrade MSVC, improve build performance, and refactor C++ code"},"content":{"rendered":"<p><div class=\"alert alert-info\">GitHub Copilot app modernization for C++, GitHub Copilot build performance for Windows, and C++ code editing tools for GitHub Copilot will be available soon in Private Preview. <a href=\"https:\/\/aka.ms\/cpp-agents-private-preview\">Join the waitlist for Private Preview today<\/a>.<\/div><\/p>\n<p>Yesterday at GitHub Universe, GitHub announced support for custom agents. <a href=\"https:\/\/github.blog\/changelog\/2025-10-28-custom-agents-for-github-copilot\/?utm_source=web-k2k-custom-agents-cta&amp;utm_medium=web&amp;utm_campaign=universe25\">Custom agents<\/a> are specialized configurations with custom prompts and context that focus Copilot on specific development tasks.<\/p>\n<p>On the C++ team, we have a similar goal: Provide differentiated capabilities that optimize GitHub Copilot for C++ development tasks. As a first step towards this goal, we\u2019re announcing <strong>new capabilities for GitHub Copilot that support C++ developers in three development tasks: <\/strong><\/p>\n<ul>\n<li>Upgrade Microsoft C++ (MSVC) Build Tools<\/li>\n<li>Improve C++ build performance<\/li>\n<li>Perform large-scale C++ refactors<\/li>\n<\/ul>\n<p>These experiences will be available soon as a Private Preview in Visual Studio 2026. <a href=\"https:\/\/aka.ms\/cpp-agents-private-preview\">Join the waitlist for Private Preview today<\/a>.<\/p>\n<h2>Upgrade MSVC with GitHub Copilot app modernization for C++<\/h2>\n<p>GitHub Copilot\u2019s app modernization capabilities help you migrate your C++ projects to a newer version of the MSVC Build Tools. After you retarget your project, it\u2019s possible that additional source code or project system changes will be needed due to deprecations or fixes in the newer version of MSVC. Copilot will help you iterate through these changes until all warnings and errors are resolved.<\/p>\n<p><iframe src=\"\/\/www.youtube.com\/embed\/eCFb_VyNMWU\" width=\"560\" height=\"314\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h2>Improve C++ build performance with GitHub Copilot build performance for Windows<\/h2>\n<p>GitHub Copilot&#8217;s build performance capabilities analyze your C++ build and suggest changes to improve build performance. This agent can, for example, create a precompiled header for expensive #include files, or adjust function inlining (<code>__forceinline<\/code>) to address bottlenecks in your build.<\/p>\n<p><iframe src=\"\/\/www.youtube.com\/embed\/twQTixBZen8\" width=\"560\" height=\"314\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h2>Perform large-scale C++ refactors with C++ code editing tools for GitHub Copilot<\/h2>\n<p>C++ code editing tools for GitHub Copilot expose the power of C++ IntelliSense to GitHub Copilot. This suite of tools improves the accuracy and performance of C++ code editing queries. You can interact with these tools directly in Copilot Chat, or create <a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/boost-your-copilot-collaboration-with-reusable-prompt-files\/\">prompt files<\/a> to facilitate more complex, codebase-wide refactoring tasks.<\/p>\n<p><iframe src=\"\/\/www.youtube.com\/embed\/PWmLjg0HFT4\" width=\"560\" height=\"314\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h2>Thank you for your feedback<\/h2>\n<p>We\u2019re excited to build alongside you and deliver new capabilities that make GitHub Copilot even more valuable for C++ developers. We\u2019ve already engaged with internal Microsoft developers, and we\u2019re now rolling these experiences out in Private Preview to prioritize deeper customer feedback from a wide range of C++ customers.<\/p>\n<p>If you\u2019re curious about these new capabilities, <a href=\"https:\/\/aka.ms\/cpp-agents-private-preview\">sign up for the Private Preview waitlist<\/a> and stay tuned for more information on the C++ team blog. If you have general feedback on Visual Studio 2026, you can <a href=\"https:\/\/learn.microsoft.com\/en-us\/visualstudio\/ide\/how-to-report-a-problem-with-visual-studio?view=vs-2022\">file an issue or suggestion<\/a> on Developer Community.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yesterday at GitHub Universe, GitHub announced support for custom agents. Custom agents are specialized configurations with custom prompts and context that focus Copilot on specific development tasks. On the C++ team, we have a similar goal: Provide differentiated capabilities that optimize GitHub Copilot for C++ development tasks. As a first step towards this goal, we\u2019re [&hellip;]<\/p>\n","protected":false},"author":2953,"featured_media":34436,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[270,1,3949],"tags":[],"class_list":["post-35811","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-announcement","category-cplusplus","category-copilot-2"],"acf":[],"blog_post_summary":"<p>Yesterday at GitHub Universe, GitHub announced support for custom agents. Custom agents are specialized configurations with custom prompts and context that focus Copilot on specific development tasks. On the C++ team, we have a similar goal: Provide differentiated capabilities that optimize GitHub Copilot for C++ development tasks. As a first step towards this goal, we\u2019re [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/35811","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/users\/2953"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/comments?post=35811"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/35811\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media\/34436"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media?parent=35811"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/categories?post=35811"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/tags?post=35811"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}