Microsoft Visual Studio 16.9 preview enhances C++ tooling

Microsoft has produced Visual Studio 2019 sixteen.nine Preview three, an update to the company’s signature built-in enhancement atmosphere that presents extra command line equipment for C++ enhancement as effectively as enhancements tuned to .Internet and XAML. The past update to Visual Studio 2019, model sixteen.8, added assist for the C11 and C17 variations of C.

Preview three was produced January twenty. Between the new C++ command line equipment, the preview lets developers target the LLVM model of the OpenMP runtime with the command line swap, /openmp:llvm. This characteristic includes added assist for the lastprivate clause on #pragma omp sections and unsigned index variables in parallel for loops. This swap is at this time obtainable only for the AMD64 target and is viewed as experimental.

Preview three also provides very first-class assist for distant enhancement to CMake jobs, such as configuring a challenge to target AMD64. Also for C++, Microsoft has marked lots of of the lock and guard kinds in the Conventional Template Library implementation as nodiscard, to offer extra beneficial compiler faults.

Other alterations and enhancements in Visual Studio sixteen.nine Preview three:

  • MVVM (Product-See-ViewModel) equipment have been expanded for XAML. Lightbulbs have been launched to make commands and new see types.
  • For .Internet efficiency, IntelliSense has been enhanced to spotlight completion for preprocessor symbols. Also, Option Explorer will now show .Internet five. C# Supply Turbines underneath the Analyzer node. This will permit for straightforward navigation and viewing of generated code.
  • Also for IntelliSense, advancements have been made to the performance and stability of giving imported modules and header units. Also, Go-To-Definition can be highlighted on module imports.
  • With Deal with Sanitizer (ASan) for Windows, the IDE integration for ASan-documented exceptions now handles the whole selection of reportable exceptions.

Guidelines on accessing Visual Studio previews can be discovered at Preview three follows Visual Studio 2019 sixteen.nine previews produced on December 8, 2020, and November ten, 2020, which brought enhancements to parts these as Git efficiency and C++ enhancement.

Copyright © 2021 IDG Communications, Inc.