{"id":241252,"date":"2023-01-25T12:38:43","date_gmt":"2023-01-25T20:38:43","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=241252"},"modified":"2023-01-25T12:41:17","modified_gmt":"2023-01-25T20:41:17","slug":"introducing-the-git-status-bar-and-testing-improvements-in-visual-studio-for-mac-17-5","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/introducing-the-git-status-bar-and-testing-improvements-in-visual-studio-for-mac-17-5\/","title":{"rendered":"Introducing the Git Status Bar and Testing Improvements in Visual Studio for Mac 17.5"},"content":{"rendered":"<p><span data-contrast=\"auto\">Last week saw the release of the third preview in the lead up to the official release of Visual Studio for Mac 17.5, and in this blog post we\u2019re going to look at some of the changes in this release &#8211; the new Git Status Bar, and some other improvements that have been made to the Test Explorer tool window.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<h1 aria-level=\"1\"><span data-contrast=\"none\">Git Branch Selector<\/span><span data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:0,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h2>\n<p><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Improving the Git experience is one of Visual Studio for Mac team\u2019s primary areas of focus for 17.5and one of the big new features is the Git Status Bar.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">When you open a solution which has a Git repository the Git Status Bar will appear in the Status Bar area at the bottom left of the main window.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\"><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/01\/Screenshot-2023-01-25-at-8.32.01-pm.png\"><img decoding=\"async\" class=\"size-full wp-image-241254 aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/01\/Screenshot-2023-01-25-at-8.32.01-pm.png\" alt=\"A detail of the Git Status bar. From left to right, it contains a button reading &quot;main&quot;, and label reading &quot;HEAD&quot; and a button reading &quot;5 changes&quot;\" width=\"526\" height=\"88\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/01\/Screenshot-2023-01-25-at-8.32.01-pm.png 526w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/01\/Screenshot-2023-01-25-at-8.32.01-pm-300x50.png 300w\" sizes=\"(max-width: 526px) 100vw, 526px\" \/><\/a>\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">From this status bar you can see the currently selected branch, the current commit, and the number of uncommitted changes that have been made. Clicking on the number of changes focuses the Git Changes tool window where you can review the changes and carry out operations on them.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">One of the biggest improvements to the Git workflow so far, however, is when you click on the branch name in the lower left-hand corner of the status bar. This opens the branch selector menu and from there you can switch to a different branch or carry out branch operations such as merge, rebase etc. The branch selector menu shows the most recently used branches directly in the top level of the menu. Additionally, you can dive down into the Locals, Remotes and Tags submenus to find and switch to a specific branch.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\"> <a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/01\/Screenshot-2023-01-19-at-12.08.27-pm.png\"><img decoding=\"async\" class=\"size-full wp-image-241253 aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/01\/Screenshot-2023-01-19-at-12.08.27-pm.png\" alt=\"The new branch switcher menu. It contains the following items &quot;New Branch\u2026&quot;, &quot;Merge\u2026&quot;, &quot;Rebase\u2026&quot;, &quot;release\/vsmac17.4&quot;, &quot;main&quot;, &quot;latest-vsmac&quot;, &quot;roslyn-post-bump&quot;, &quot;Locals (4)&quot;, &quot;Remotes (240)&quot;, &quot;Tags (448)&quot; and &quot;Branches and Remotes\u2026&quot;. The Locals, Remotes and Tags menus are have submenus.\" width=\"530\" height=\"684\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/01\/Screenshot-2023-01-19-at-12.08.27-pm.png 530w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/01\/Screenshot-2023-01-19-at-12.08.27-pm-232x300.png 232w\" sizes=\"(max-width: 530px) 100vw, 530px\" \/><\/a><\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<h1 aria-level=\"1\"><span data-contrast=\"none\">Test Explorer<\/span><span data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:0,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h2>\n<p><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">The Test Explorer tool window has seen many bug fixes and improvements to both usability and performance. Test discovery is improved for projects that used wildcards in NuGet packages, and UI delays have been reduced when running tests. Additionally, tests that target multiple platforms and use .NET 6.0 or 7.0 can now be run using the test host that matches the correct chipset architecture.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<h1 aria-level=\"1\"><span data-contrast=\"none\">Download Visual Studio for Mac 17.5 Preview 3 and try it for yourself<\/span><span data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:0,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h2>\n<p><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">The Git Branch Selector and the changes to the Test Explorer are just a few of the recent improvements that have been made in the lead up to the release of Visual Studio for Mac 17.5, so why not try out Preview 3 today and see for yourself<\/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\/vs\/mac\/preview\/\" target=\"_blank\">Download Visual Studio for Mac v17.5 Preview 3<\/a><\/div><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last week saw the release of the third preview in the lead up to the official release of Visual Studio for Mac 17.5, and in this blog post we\u2019re going to look at some of the changes in this release &#8211; the new Git Status Bar, and some other improvements that have been made to [&hellip;]<\/p>\n","protected":false},"author":75711,"featured_media":241253,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[155],"tags":[],"class_list":["post-241252","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-visual-studio"],"acf":[],"blog_post_summary":"<p>Last week saw the release of the third preview in the lead up to the official release of Visual Studio for Mac 17.5, and in this blog post we\u2019re going to look at some of the changes in this release &#8211; the new Git Status Bar, and some other improvements that have been made to [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/241252","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\/75711"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=241252"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/241252\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/241253"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=241252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=241252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=241252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}