Visual Studio v16.10 Preview 2 Released

Visual Studio v16.10 preview 2 adds C++20 ranges, IntelliSense completions, and new features for testing.

Recently, Microsoft announced the release of Visual Studio v16.10 preview 2, which adds C++20 ranges, IntelliSense completions, and new features for testing. The release also brings Docker tooling enhancements, and Git integration.

The C++20 Ranges implementation is now feature complete. You can compile with /std:c++latest if you want to try it out. Also, the CMakePresets.json file is now supported in Studio as a common alternative to CMakeSetting.json.

CMakePresets.json allows you to specify common configure, build, and test options, and share them with others. Now you can use the same CMakePresets.json file to configure and build with CMake in Visual Studio, VS Code, and from the CLI on Windows, Linux, and macOS.

Source: Microsoft

The new release also makes it easy to mark headers external to your project. Now, external headers can also have their own compiler warning level, code analysis, and template diagnostics settings. Developers can select stricter settings for their project’s code to enforce code quality without getting bogged down with warnings from headers they don’t control.

Source: Microsoft

This preview also makes creating remote connections safer by adding a prompt to accept or deny the host key fingerprint presented by the server. 

New features for .NET include Completions for Casts, Indexers, and Operators; Automatically Insert Method Call Arguments; User Interface for EditorConfig Files; and visual representation for the inheritance chain.

The release also features several updates to improve the usability and keyboard accessibility of the test detail pane and log files in the Test Explorer. Such as View Console Logs in the Test Explorer; Navigate Links from Log Files; and Automatically Create Log Files.

There are enhancements to the Git tooling in Visual Studio as well. It improves how you switch repositories, view commits, interact with diffs, and synchronize your branches.

For additional details, you can visit the official announcement here.