{"id":248217,"date":"2024-03-07T10:00:44","date_gmt":"2024-03-07T18:00:44","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=248217"},"modified":"2024-03-07T14:31:25","modified_gmt":"2024-03-07T22:31:25","slug":"visual-studio-2022-version-17-9-a-comprehensive-update-for-c-developers","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/visual-studio-2022-version-17-9-a-comprehensive-update-for-c-developers\/","title":{"rendered":"Visual Studio 2022 Version 17.9: A Comprehensive Update for C++ Developers"},"content":{"rendered":"<p><span data-contrast=\"auto\">Visual Studio 2022 version 17.9 introduces a host of new features and improvements for C++ developers. Now<\/span><span data-contrast=\"auto\">, <\/span><span data-contrast=\"auto\">you can use the <\/span><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/size-alignment-and-memory-layout-insights-for-c-classes-structs-and-unions\/\"><b><span data-contrast=\"auto\">Memory Layout<\/span><\/b><\/a><span data-contrast=\"auto\"> feature to visualize the memory layout of your classes, structs, and unions directly in the editor. Additionally, the <\/span><a href=\"https:\/\/devblogs.microsoft.com\/cppblog\/include-diagnostics-in-visual-studio\/\"><b><span data-contrast=\"auto\">#include Diagnostics<\/span><\/b><\/a><span data-contrast=\"auto\"> feature provides insights into the frequency of element usage from an included file, as well as the impact of each #include directive on the build time of the file you\u2019re currently editing. This information is conveniently displayed within your editor for easy reference. <\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:279}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">For Unreal Engine developers, the <\/span><span data-contrast=\"auto\">consistency and accuracy of <\/span><b><span data-contrast=\"auto\">IntelliSense has improved<\/span><\/b><span data-contrast=\"auto\">, and <\/span><b><span data-contrast=\"auto\">UE Blueprint references have been streamlined<\/span><\/b><span data-contrast=\"auto\">. For C++ cross-platform developers, you can now <\/span><b><span data-contrast=\"auto\">run unit tests on a remote Linux machine directly from Visual Studio<\/span><\/b><span data-contrast=\"auto\"> and <\/span><b><span data-contrast=\"auto\">specify a custom CMake <\/span><\/b><span data-contrast=\"auto\">executable <\/span><span data-contrast=\"auto\">for your projects.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:279}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">For all Visual Studio users, including those who work with C++, the new Visual Studio 2022 version 17.9 brings several enhancements. You can now take advantage of<\/span><b><span data-contrast=\"auto\"> AI-generated Git commit messages<\/span><\/b><span data-contrast=\"auto\">, which assist in creating clear and relevant commit descriptions. Additionally, a secondary link has been introduced that allows you to <\/span><b><span data-contrast=\"auto\">open pull requests in a web browser<\/span><\/b><span data-contrast=\"auto\">, not just in Visual Studio. The <\/span><b><span data-contrast=\"auto\">Git Repository Window now features Responsive Git Ref Labels<\/span><\/b><span data-contrast=\"auto\"> that adjust their content based on the available space, thereby facilitating easier repository navigation. Lastly, the new <\/span><b><span data-contrast=\"auto\">Multi Project Configuration<\/span><\/b><span data-contrast=\"auto\"> allows you to set up profiles for specific projects within a multi-project solution.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:279}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">For a detailed overview of the latest C++ features in Visual Studio version 17.9, refer to our <\/span><strong><a href=\"https:\/\/devblogs.microsoft.com\/cppblog\/whats-new-for-cpp-developers-in-visual-studio-2022-17-9\/\">announcement blog post<\/a><\/strong><span data-contrast=\"auto\">.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:279}\">\u00a0<\/span><\/p>\n<p><div  class=\"d-flex justify-content-center\"><a class=\"cta_button_link btn-primary mb-24\" href=\"https:\/\/visualstudio.microsoft.com\/downloads\/\" target=\"_blank\">Download Visual Studio<\/a><\/div><\/p>\n<p><span class=\"TextRun SCXW18449741 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW18449741 BCX8\">We deeply appreciate your invaluable feedback, which has been shaping our product and guiding our efforts to enhance Visual Studio in alignment with your preferences. In the 17.9 release, we have addressed some of the <\/span><span class=\"NormalTextRun CommentStart SCXW18449741 BCX8\">most popular suggestion tickets<\/span><span class=\"NormalTextRun SCXW18449741 BCX8\"> from the Visual Studio Community<\/span><span class=\"NormalTextRun SCXW18449741 BCX8\">, such as <\/span><\/span><a class=\"Hyperlink SCXW18449741 BCX8\" href=\"https:\/\/developercommunity.visualstudio.com\/t\/Add-tools-to-display-c-class-memory-la\/392536?q=memory+layout\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"FieldRange SCXW18449741 BCX8\"><span class=\"TextRun Underlined SCXW18449741 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun CommentStart SCXW18449741 BCX8\" data-ccp-charstyle=\"Hyperlink\">Memory Layout<\/span><\/span><\/span><\/a><span class=\"TextRun SCXW18449741 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"> <span class=\"NormalTextRun SCXW18449741 BCX8\">(<\/span><span class=\"NormalTextRun SCXW18449741 BCX8\">92 votes)<\/span><span class=\"NormalTextRun SCXW18449741 BCX8\"> and<\/span> <\/span><a class=\"Hyperlink SCXW18449741 BCX8\" href=\"https:\/\/developercommunity.visualstudio.com\/t\/Run-C-unit-tests-on-Linux-with-Visual-\/1403357\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW18449741 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW18449741 BCX8\" data-ccp-charstyle=\"Hyperlink\">Run C++ Unit Tests on Linux<\/span><\/span><\/a><span class=\"TextRun SCXW18449741 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW18449741 BCX8\"> (90 votes)<\/span><span class=\"NormalTextRun SCXW18449741 BCX8\">.<\/span><\/span><span class=\"EOP SCXW18449741 BCX8\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:279}\">\u00a0<\/span><\/p>\n<h3 id=\"share-your-feedback-and-stay-connected-with-visual-studio\"><span class=\"TextRun SCXW101467744 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW101467744 BCX8\" data-ccp-parastyle=\"heading 3\">Share your feedback and stay connected with Vis<\/span><span class=\"NormalTextRun SCXW101467744 BCX8\" data-ccp-parastyle=\"heading 3\">ual Studio!<\/span><\/span><\/h3>\n<p><span data-contrast=\"none\">We appreciate the time you\u2019ve spent reporting issues\/suggestions and hope you continue to give us feedback when using Visual Studio on what you like and what we can improve. Your feedback is critical to help us make Visual Studio the best tool it can be! You can share feedback with us via <\/span><a href=\"https:\/\/developercommunity.visualstudio.com\/home\"><span data-contrast=\"none\">Developer Community<\/span><\/a><span data-contrast=\"none\">: report any bugs or issues via <\/span><a href=\"https:\/\/docs.microsoft.com\/visualstudio\/ide\/how-to-report-a-problem-with-visual-studio\"><span data-contrast=\"none\">report a problem<\/span><\/a><span data-contrast=\"none\"> and <\/span><a href=\"https:\/\/developercommunity.visualstudio.com\/report?space=8&amp;entry=suggestion\"><span data-contrast=\"none\">share your suggestions<\/span><\/a><span data-contrast=\"none\"> for new features or improvements to existing ones.\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335557856&quot;:16777215,&quot;335559739&quot;:240,&quot;335559740&quot;:279}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">Stay connected with the Visual Studio team by following us on <\/span><a href=\"https:\/\/www.youtube.com\/@visualstudio\"><span data-contrast=\"none\">YouTube<\/span><\/a><span data-contrast=\"none\">, <\/span><a href=\"https:\/\/twitter.com\/VisualStudio\"><span data-contrast=\"none\">Twitter<\/span><\/a><span data-contrast=\"none\">, <\/span><a href=\"https:\/\/www.linkedin.com\/showcase\/microsoft-visual-studio\/\"><span data-contrast=\"none\">LinkedIn<\/span><\/a><span data-contrast=\"none\">, <\/span><a href=\"https:\/\/www.twitch.tv\/visualstudio\"><span data-contrast=\"none\">Twitch<\/span><\/a><span data-contrast=\"none\"> and on <\/span><a href=\"https:\/\/learn.microsoft.com\/en-us\/visualstudio\/?view=vs-2022\"><span data-contrast=\"none\">Microsoft Learn<\/span><\/a><span data-contrast=\"none\">.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:279}\">\u00a0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Visual Studio 2022 version 17.9 introduces a host of new features and improvements for C++ developers. Now, you can use the Memory Layout feature to visualize the memory layout of your classes, structs, and unions directly in the editor. Additionally, the #include Diagnostics feature provides insights into the frequency of element usage from an included [&hellip;]<\/p>\n","protected":false},"author":96741,"featured_media":248225,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1195,472,155],"tags":[510,12],"class_list":["post-248217","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cross-platform","category-gaming","category-visual-studio","tag-cpp","tag-visual-studio"],"acf":[],"blog_post_summary":"<p>Visual Studio 2022 version 17.9 introduces a host of new features and improvements for C++ developers. Now, you can use the Memory Layout feature to visualize the memory layout of your classes, structs, and unions directly in the editor. Additionally, the #include Diagnostics feature provides insights into the frequency of element usage from an included [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/248217","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/users\/96741"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=248217"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/248217\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/248225"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=248217"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=248217"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=248217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}