0

Introducing the Git Status Bar and Testing Improvements in Visual Studio for Mac...

 1 year ago
source link: https://devblogs.microsoft.com/visualstudio/introducing-the-git-status-bar-and-testing-improvements-in-visual-studio-for-mac-17-5/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Introducing the Git Status Bar and Testing Improvements in Visual Studio for Mac 17.5

Screenshot-2022-09-27-at-12.05.29-pm-96x96.png

Iain Holmes

January 25th, 20231 0

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’re going to look at some of the changes in this release – the new Git Status Bar, and some other improvements that have been made to the Test Explorer tool window. 

Git Branch Selector 

Improving the Git experience is one of Visual Studio for Mac team’s primary areas of focus for 17.5and one of the big new features is the Git Status Bar. 

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. 

A detail of the Git Status bar. From left to right, it contains a button reading

 

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. 

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.  

The new branch switcher menu. It contains the following items

 

Test Explorer 

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. 

Download Visual Studio for Mac 17.5 Preview 3 and try it for yourself 

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

Iain Holmes Senior Software Engineer, Visual Studio for Mac

Follow


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK