Visual Studio 2022 update improves Git search and integration

1 credit

Microsoft has made Visual Studio 2022 version 17.1 generally available for production use. At the same time, the company released a preview of Visual Studio 2022 version 17.2.

Both were announced on February 15. Visual Studio 2022 version 17.1 brings improvements in finding, debugging, and Git-related features. Visual Studio 2022 version 17.2 also improves the Git experience while adding new C# features. Visual Studio 2022 version 17.1 follows the November release of Visual Studio 2022 version 17.0. Visual Studio 2022 is the first 64-bit edition of the IDE.

Visual Studio 2022 version 17.1 can be downloaded from Microsoft’s Visual Studio website. Instructions for accessing the Visual Studio 2022 version 17.2 preview are available on the Visual Studio preview channel.

With version 17.1, the indexed search functionality in files, which promises faster and more productive searching, is enabled by default. Version 17.1 also introduces an Autosave feature, which allows developers to automatically save files when Visual Studio loses focus.

Git-related improvements in Visual Studio 2022 version 17.1 allow developers to compare a current branch with other branches in their repository, making it easier to track branches when preparing pull requests or branch deletion . Solution filters make it easy to load a complete dependency tree for all projects in the filter.

Here are some other new features and improvements in Visual Studio 2022 version 17.1, based on the release notes:

  • For debugging, a feature called StickyDataTips allows developers to keep extended DataTips. Objects can be rated in DataTips.
  • For C++, a Configure Preset template allows developers to create CMake projects on a remote MacOS system with CMakePresets.json. Developers can debug core dumps on a remote MacOS system from Visual Studio with LLDB or GDB.
  • The code definition window now supports C# and Visual Basic.
  • A refactoring is now available to enable nullable reference types in a project, adding the codeenable element to a project file or by adding the element #nullable enable pragma to the source files of a project.
  • A Stack Trace Explorer window displays stack traces from the clipboard, allowing developers to click and navigate directly linked code.
  • The number of reboots required after installation has been reduced.

Regarding the Visual Studio 2022 version 17.2 preview, the release notes cite the following features:

  • For a planned release of C# 11, raw string literals are added. A refactoring is available as part of the preview to convert a normal or textual string literal to a plain string literal.
  • The IDE now uses 64-bit Git for Windows. Also for Git, support for line staging, or interactive staging, allows users to stage specific lines or pieces of code from the editor and diff views.
  • For Web Tools, the Add Dependency dialog in Connected Services now has a search function.
  • For .NET programming, the IDE’s support for the StringSyntaxAttribute code allows syntax highlighting based on the type of data the string represents. Additionally, a new refactoring removes unnecessary lambda expressions and calls the method group directly.

Join the newsletter!

Error: Please verify your email address.

Microsoft Visual Studio Tags

Comments are closed.