- Nov 10, 2017
Visual Studio 2022 became generally available back in November 2021, and Microsoft obviously intends to add more features to it past its initial release as well. Today, some of these have arrived in the form of Visual Studio 2022 17.1 Preview 2 and there are tons of enhancements to know about if you're a developer eager to test out the latest features in Microsoft's integrated development environment (IDE).
With the latest preview release, it is easier to compare the current Git branch with other branches in a side-by-side view. There is support for enhanced detached head where you can checkout a commit and navigate to an older point in your repository and run it as well. Pull requests and team updates can now be reviewed relatively quicker too. Multi-repository support is also being enhanced and the IDE is now flexible to lightweight branch management operations. In the same vein, new branches can be automatically created across all active repos, you don't need to manually create them for each one. Finally, Line-staging is now in preview and it enables developers to stage chunks of their code.
In terms of code management, code cleanups on explicit save operations can now be automated using custom cleanup profiles. Yet another capability being introduced in this domain is enabling Visual Studio to automatically save code when the window loses focus. These automatic save points will not trigger automatic code cleanups. That said, Microsoft has emphasized that this feature is still in preview and the company is welcoming feedback on the topic.
Microsoft has rolled out Visual Studio 2022 17.1 Preview 2, which contains a ton of enhancements related to Git, C++, .NET, and macOS development. Color tabs are finally supported too.