Visual Studio 2022 update offers improvements to Git


With the second preview of its planned update to Visual Studio 2022, Microsoft is offering improvements to the IDE’s Git experience, including branch comparison and commit checking capabilities.

Released January 5, Visual Studio 2022 17.1 Preview 2 is available from Visual Studio website. In this release, developers can compare checked out Git branches with any local or remote branch. They can also view the commit tip or any previous commit from remote and local branches.

Multi-repo connection, a preview feature to simultaneously manage new branches across all active repositories, now provides an improved internal looping branching experience. A line staging capability, still in preview, splits changes between different commits by staging sections of code changes.

For C ++ projects, Visual Studio 2022 version 17.1 offers faster “Find All References” searches, improved by 22%. For embedded development in C ++, additional views are offered to interact with peripheral registers on microcontrollers and operating system objects in real time.

Also in Visual Studio 2022 17.1 Preview 2:

  • Custom code cleanup files can be configured to run automatically when a file is saved. This is intended to help minimize style violations in checkout requests and reduce the time it takes to fix code that does not meet specific standards.
  • An AutoSave in Preview feature automatically saves “dirty” documents when a Visual Studio application loses focus. A developer switching to other applications in Windows can ask the IDE to automatically commit the changes to disk.
  • On-board source and are displayed as part of “Go to Definition” if a referenced assembly has an embedded source or source link. This allows developers to access the original source files that declare the target symbol.
  • A new Stack Trace Explorer window displays stack traces for direct access to associated code.

Visual Studio 2022 17.1 follows the November 8 release of Visual Studio 2022, which was highlighted with new 64-bit features. Visual Studio 2022 17.1 Preview 1 was also published on that date, followed by Visual Studio 2022 17.1 Preview 1.1 November 16.

Copyright © 2022 IDG Communications, Inc.


Comments are closed.