Showing results for New Feature - C++ Team Blog

Feb 27, 2020
Post comments count8
Post likes count0

AVX-512 Auto-Vectorization in MSVC

Rui Zhang
Rui Zhang

In Visual Studio 2019 version 16.3 we added AVX-512 support to the auto-vectorizer of the MSVC compiler. This post will show some examples and help you enable it in your projects. What is the auto vectorizer? The compiler’s auto vectorizer analyzes loops in the user’s source code and generates vectorized code for a vectorization target where feas...

New FeatureC++
Jan 24, 2020
Post comments count2
Post likes count1

CMake, Linux targeting, and IntelliSense improvements in Visual Studio 2019 version 16.5 Preview 2

Erika Sweet
Erika Sweet

Visual Studio’s native support for CMake allows you to target both Windows and Linux from the comfort of a single IDE. Visual Studio 2019 version 16.5 Preview 2 introduces several new features specific to cross-platform development, including: File copy optimizations for CMake projects targeting a remote Linux syste...

C++CMakeNew Feature
Jan 10, 2020
Post comments count1
Post likes count0

Improvements to Accuracy and Performance of Linux IntelliSense

Erika Sweet
Erika Sweet

This blog post was written by Paul Maybee, a Principal Software Engineer on the C++ Cross-Platform Team.  Accurate C++ IntelliSense requires access to the C++ headers that are referenced by C++ source files. For Linux scenarios the headers referenced by a Linux MSBuild or CMake project are copied to Windows by Visual Studio from the Linux device...

C++CMakeNew Feature
Dec 18, 2019
Post comments count1
Post likes count0

Debugging Linux CMake Projects with gdbserver

Erika Sweet
Erika Sweet

Update 2/20/20: We have addressed a bug which allows you to debug simple CMake projects using one level of CMakeLists.txt files with gdbserver in Visual Studio 2019 version 16.5 Preview 3. The example launch configuration has been updated below. Gdbserver is a program that allows you to remotely debug applications running on Linux. It is esp...

C++CMakeNew Feature
Oct 15, 2019
Post comments count4
Post likes count0

Usability Improvements for CMake in Visual Studio 2019 version 16.4: Launch Target Selection and Overview Pages

Erika Sweet
Erika Sweet

We hear your feedback, and in Visual Studio 2019 version 16.4 Preview 2 we have addressed one of our top Developer Community issues related to CMake development in Visual Studio by revamping the selection of CMake launch targets. We have also added Overview Pages for CMake to help you get started with CMake and cross-platform development. If you’re...

AnnouncementCMakeNew Feature
Aug 16, 2019
Post comments count0
Post likes count0

C++ Cross-Platform Development with Visual Studio 2019 version 16.3: vcpkg, CMake configuration, remote headers, and WSL

Erika Sweet
Erika Sweet

In Visual Studio 2019 you can target both Windows and Linux from the comfort of a single IDE. Visual Studio’s native support for CMake lets you open any folder containing C++ code and a CMakeLists.txt file directly in Visual Studio to edit, build, and debug your CMake project on Windows, Linux, and the Windows Subsystem for Linux (WSL). Visual Stud...

AnnouncementCMakeVcpkg
Jul 29, 2019
Post comments count2
Post likes count0

Smarter Member List Filtering for C++ 

Nick Uhlenhuth
Nick Uhlenhuth

We are always looking for ways to make you more productive while coding in Visual Studio. In Visual Studio 2019 version 16.2, we have created a smarter, more relevant Member List. Specifically, we now apply method filtering based on type qualifiers. To illustrate this, consider the following example:  You have two vectors, but one is . When we i...

AnnouncementNew FeatureExperimental
Jul 24, 2019
Post comments count1
Post likes count0

Visual Studio Code C/C++ Extension: July 2019 Update

Tara Raj
Tara Raj

The July 2019 update of the Visual Studio Code C/C++ extension is now available. This release includes many new features, including semantic colorization and improvements to the IntelliSense Configuration Settings Editor UI and IntelliSense cache. For a full list of this release’s improvements, check out our release notes on GitHub. Semantic Color...

Visual Studio CodeC++New Feature
May 10, 2019
Post comments count22
Post likes count0

Linux Development with C++ in Visual Studio 2019: WSL, ASan for Linux, Separation of Build and Debug

Erika Sweet
Erika Sweet

In Visual Studio 2019 you can target both Windows and Linux from the comfort of a single IDE. In Visual Studio 2019 version 16.1 Preview 3 we announced several new features specific to the Linux Workload: native support for the Windows Subsystem for Linux (WSL), AddressSanitizer integration, and the ability to separate build and debug targets. If y...

AnnouncementC++CMake
May 8, 2019
Post comments count7
Post likes count0

AddressSanitizer (ASan) for the Linux Workload in Visual Studio 2019

Erika Sweet
Erika Sweet

In Visual Studio 2019 version 16.1 Preview 3 we have integrated AddressSanitizer (ASan) into Visual Studio for Linux projects. ASan is a runtime memory error detector for C/C++ that catches the following errors: You can enable ASan for MSBuild-based Linux projects and CMake projects that target a remote Linux system or ...

AnnouncementCMakeNew Feature