C++ Team Blog

The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team

Clang/LLVM Support in Visual Studio

Visual Studio 2019 version 16.1 Preview 2 comes with support for Clang/LLVM out-of-the-box. Visual Studio has had great tooling for MSVC and GCC for quite a while now. The latest preview brings Clang into the fold. Visual Studio 2019 includes out of the box support for editing, building, and debugging CMake projects with Clang/LLVM. If you ...

Improved C++ IntelliCode now Ships with Visual Studio 2019

IntelliCode support for C++ previously shipped as an extension, but it is now an in-box component that installs with the โ€œDesktop Development with C++โ€ workload in Visual Studio 2019 16.1 Preview 2. Make sure that IntelliCode is active for C++ by enabling the โ€œC++ base modelโ€ under Tools > Options > IntelliCode > General:ย (...

Visual Studio C++ Template IntelliSense Populates Based on Instantiations in Your Code

Ever since we announced Template IntelliSense, you all have given us great suggestions. One very popular suggestion was to have the Template Bar auto-populate candidates based on instantiations in your code. In Visual Studio 2019 version 16.1 Preview 2, weโ€™ve added this functionality via an โ€œAdd All Existing Instantiationsโ€ option in the...

C++17/20 Features and Fixes in Visual Studio 2019

Visual Studio 2019 version 16.0 is now available and is binary compatible with VS 2015/2017. In this first release of VS 2019, we've implemented more compiler and library features from the C++20 Working Paper, implemented more overloads (C++17's "final boss"), and fixed many correctness, performance, and throughput issues. Here's a list of ...

Accelerating Compute-Intensive Workloads with Intelยฎ AVX-512

This guest post was authored by Junfeng Dong, John Morgan, and Li Tian from Intel Corporation. Introduction Last year we introduced Intelยฎ Advanced Vector Extensions 512 (Intelยฎ AVX-512) support in Microsoft* Visual Studio* 2017 through this VC++ blog post. In this follow-on post, we cover some examples to give you a taste of how Intelยฎ ...

Visual Studio Code now available through Particle Workbench

Weโ€™re excited to announce that Visual Studio Code is included in the new release of tooling for Particle IoT developers. Developers using the Particle platform can now use Visual Studio Code as their default editor for building IoT apps! Particle provides a widely-used IoT platform that consists of hardware, software, and connectivity. At...

In-Editor Documentation for CMake in Visual Studio

Visual Studio 2019 version 16.1 Preview 1ย introduces in-editor documentation for CMake commands,ย variables, andย properties. You can now leverage IntelliSense autocompletionย andย quick info tooltipsย when editing a CMakeLists.txt file, which will save you time spent outside of the IDE referencing documentation and make the process less ...

Visual Studio Code C/C++ extension: March 2019 Update

The March 2019 update of the Visual Studio Code C/C++ extension is now available. This release includes many new features and bug fixes, including IntelliSense caching, Build and Debug Active File, and configuration squiggles. For a full list of this releaseโ€™s improvements, check out our release notes on GitHub. IntelliSense Cache (AutoPCH...