{"id":240712,"date":"2022-12-13T10:35:08","date_gmt":"2022-12-13T18:35:08","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=240712"},"modified":"2022-12-14T01:01:02","modified_gmt":"2022-12-14T09:01:02","slug":"try-out-visual-studio-2022-17-5-preview-2","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/try-out-visual-studio-2022-17-5-preview-2\/","title":{"rendered":"Try out Visual Studio 2022 version 17.5 Preview 2"},"content":{"rendered":"<p>I\u2019m excited to share today we released <a href=\"https:\/\/visualstudio.microsoft.com\/vs\/preview\/\">Visual Studio 2022 17.5 Preview 2<\/a>! Your feedback goes directly to the product team working to deliver you the best developer IDE. We welcome your feedback on <a href=\"https:\/\/developercommunity.visualstudio.com\/home\">Developer Community<\/a> where we are always eager to hear your <a href=\"https:\/\/developercommunity.visualstudio.com\/report?space=8&amp;entry=suggestion\">suggestions for new or existing features<\/a> and learn about any bugs or issues via <a href=\"https:\/\/docs.microsoft.com\/visualstudio\/ide\/how-to-report-a-problem-with-visual-studio\">report a problem<\/a>.<\/p>\n<p><div  class=\"d-flex justify-content-center\"><a class=\"cta_button_link btn-primary mb-24\" href=\"https:\/\/visualstudio.microsoft.com\/vs\/preview\/\" target=\"_blank\">Download Visual Studio 2022 17.5 Preview 2<\/a><\/div><\/p>\n<p>This release is packed with new capabilities across the IDE, .NET, C++ and Setup. There is something in this release for everyone. Many of these tackle top asks you&#8217;ve voted for on <a href=\"https:\/\/developercommunity.visualstudio.com\/home\">Developer Community<\/a>. Use the list below to jump straight to what matters most for you:<\/p>\n<p><strong>IDE<\/strong><\/p>\n<ul>\n<li><a href=\"#allinone\">All-In-One Search<\/a><\/li>\n<li><a href=\"#sticky\">Editor Sticky Scroll<\/a><\/li>\n<li><a href=\"#visualizers\">Debugger text visualizers<\/a><\/li>\n<li><a href=\"#additem\">Quick add Item<\/a><\/li>\n<li><a href=\"#signin\">Re-authentication workflow<\/a><\/li>\n<\/ul>\n<p><strong>.NET<\/strong><\/p>\n<ul>\n<li><a href=\"#publish\">Publish to Azure Container Apps<\/a><\/li>\n<li><a href=\"#logs\">Application Logs in VS Terminal<\/a><\/li>\n<li><a href=\"#filter\">Filtering in Code Coverage Window<\/a><\/li>\n<\/ul>\n<p><strong>C++<\/strong><\/p>\n<ul>\n<li><a href=\"#atomics\">C11 Atomics<\/a><\/li>\n<li><a href=\"#goto\">Go to Definition Improvements<\/a><\/li>\n<li><a href=\"#macro\">Macro Expansion Improvements<\/a><\/li>\n<li><a href=\"#unreal\">Unreal Engine Asset Inspector<\/a><\/li>\n<li><a href=\"#inlining\">Inlining of std::move &amp; std::forward in Debug Mode<\/a><\/li>\n<li><a href=\"#lifetime\">High-confidence Lifetime Checks<\/a><\/li>\n<li><a href=\"#preset\">CMake Presets Version 5<\/a><\/li>\n<li><a href=\"#hotreload\">Hot Reload in CMake Project Template<\/a><\/li>\n<li><a href=\"#build\">Build Multiple CMake Targets<\/a><\/li>\n<li><a href=\"#file\">Remote File Explorer<\/a><\/li>\n<li><a href=\"#linux\">Linux Console Integrated Terminal Support<\/a><\/li>\n<li><a href=\"#devcontainer\">Dev Container Improvements<\/a><\/li>\n<li><a href=\"#serial\">Serial Monitor Concurrent Monitoring<\/a><\/li>\n<li><a href=\"#arm64\">ARM64: LLVM Support<\/a><\/li>\n<\/ul>\n<p><strong>Setup and Updates<\/strong><\/p>\n<ul>\n<li><a href=\"#layout\">Customizing a Layout Using a .config File<\/a><\/li>\n<li><a href=\"#update\">Persistent Update on Close<\/a><\/li>\n<\/ul>\n<p><strong>Revised:<\/strong> We got a bit ahead of ourselves by including the new spell-checking feature we&#8217;re working on but didn&#8217;t quite make our Preview 2 release. We&#8217;re still working on the spell checker and look forward to hearing your feedback when we release the spell checker in an upcoming preview release.<\/p>\n<h2>IDE<\/h2>\n<h2 id=\"allinone\">All-In-One Search<\/h2>\n<p>The new search experience makes it easy for you to quickly find a Visual Studio menu feature files, types, and members in your code all from one place.<\/p>\n<p>We have made significant improvements to the ordering and relevancy of results in our code search. We also removed the limit to the number of results provided in the results list without compromising speed.<\/p>\n<p>Code search now has a Preview Panel that supports code results for both C# and C++! By default, the preview will automatically show when you perform a search so you can immediately see the context of the selected result.<\/p>\n<p>Enable All-In-One Search by going to <em>Tools &gt; Manage Preview Features &gt; &#8220;New Visual Studio Search experience (restart required)&#8221;<\/em>.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/12\/17.5p2-all-in-one-search.gif\"><img decoding=\"async\" class=\" wp-image-240746 aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/12\/17.5p2-all-in-one-search.gif\" alt=\"Image 17 5p2 all in one search\" width=\"757\" height=\"474\" \/><\/a><\/p>\n<h2 id=\"sticky\">Edit Sticky Scroll<\/h2>\n<p>Sticky Scroll helps you orient where you are in the file and understand the context of the code you&#8217;re looking at. As you scroll through your code, the class and method signatures will stick to the top of the editor window. Single clicking on one of the lines in the header will quickly navigate you to that line of code.<\/p>\n<p>Try this feature out by going to the <em>Options &gt; Text Editor &gt; General &gt; Sticky Scroll<\/em> and toggling the checkbox for &#8220;Show the nested current scopes during the scroll at the top of the editor&#8221;.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/12\/sticky-scroll-c-scroll-and-click.gif\"><img decoding=\"async\" class=\" wp-image-240747 aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/12\/sticky-scroll-c-scroll-and-click.gif\" alt=\"Image sticky scroll c scroll and click\" width=\"781\" height=\"480\" \/><\/a><\/p>\n<h2 id=\"visualizers\">Debugger Text Visualizers<\/h2>\n<p>The new and improved text visualizer is now more powerful with additional tooling and string manipulation options. You can now do URL Encode and Decode, Base64 Encode and Decode JWT easily. The new window also provides full theming support for dark, blue, and light VS themes.<\/p>\n<h2 id=\"additem\">Quick Add Item<\/h2>\n<p>The new Quick Add feature allows you to add new items to your solutions without navigating through the New Item Dialog. Add a new item as you normally would either by selecting a folder or project where you\u2019d like a new file and selecting <em>Add &gt; New Item&#8230; <\/em>from the context menu or by using the Ctrl+Shift+A keyboard shortcut. Add new files, such as \u201cNewClass.cs\u201d without browsing the template list. Quickly create nested folders, by just specifying a path. Or add multiple files or folders at once by using a \u201c,\u201d as a delimiter between items to scaffold out a new project. If you want to go back to the switch back to the full dialog just click \u201cShow All Templates.\u201d<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/12\/Picture4.png\">