Visual Studio 2019 Preview 2 Blog Rollup

Visual Studio 2019 Preview 2 was a huge release for us, so we’ve written a host of articles to explore the changes in more detail. For the short version, see the Visual Studio 2019 Preview 2 Release Notes. What’s New in CMake C++ Binary Compatibility and Pain-Free Upgrades New Code Analysis Checks – use-after move… Read more

Using VS Code for C++ development with containers

This post builds on using multi-stage containers for C++ development. That post showed how to use a single Dockerfile to describe a build stage and a deployment stage resulting in a container optimized for deployment. It did not show you how to use a containers with your development environment. Here we will show how to… Read more

What’s New in CMake – Visual Studio 2019 Preview 2

We have made a bunch of improvements to Visual Studio’s CMake support in the latest preview of the IDE. Many of these changes are taking the first steps to close the gap between working with solutions generated by CMake and the IDE’s native support. Please try out the preview and let us know what you… Read more

C++ Binary Compatibility and Pain-Free Upgrades to Visual Studio 2019

Visual Studio 2019 pushes the boundaries of individual and team productivity. We hope that you will find these new capabilities compelling and start your upgrade to Visual Studio 2019 soon. As you are considering this upgrade, rest assured that Visual Studio 2019 makes it distinctively easy to move your codebase from previous versions of Visual… Read more

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

The January 2019 update of the Visual Studio Code C++ extension is now available. This release includes many new features and bug fixes including documentation comments support, improved #include autocomplete performance, better member function completion, and many IntelliSense bug fixes. For a full list of this release’s improvements, check out our release notes on Github…. Read more

New Code Analysis Checks in Visual Studio 2019: use-after-move and coroutine

New Code Analysis Checks in Visual Studio 2019: use-after-move and coroutine Visual Studio 2019 Preview 2 is an exciting release for the C++ code analysis team. In this release, we shipped a new set of experimental rules that help you catch bugs in your codebase, namely: use-after-move and coroutine checks. This article provides an overview… Read more

Concurrency Code Analysis in Visual Studio 2019

Concurrency Code Analysis in Visual Studio 2019 The battle against concurrency bugs poses a serious challenge to C++ developers. The problem is exacerbated by the advent of multi-core and many-core architectures. To cope with the increasing complexity of multithreaded software, it is essential to employ better tools and processes to help developers adhere to proper… Read more

Introducing the New CMake Project Settings UI

Visual Studio 2019 Preview 2 introduces a new CMake Project Settings Editor to help you more easily configure your CMake projects in Visual Studio. The editor provides an alternative to modifying the CMakeSettings.json file directly and allows you to create and manage your CMake configurations.   If you’re just getting started with CMake in Visual… Read more

In-editor code analysis in Visual Studio 2019 Preview 2

The C++ team has been working to refresh the Code Analysis experience inside Visual Studio. Last year, we blogged about some in-progress features in this area. We’re happy to announce that in Visual Studio 2019 Preview 2, we’ve integrated code analysis directly into the editor, improved upon previously experimental features, and enabled this as the… Read more

C++ Productivity Improvements in Visual Studio 2019 Preview 2

Visual Studio 2019 Preview 2 contains a host of productivity features, including some new quick fixes and code navigation improvements: Quick fixes for: Add missing #include NULL to nullptr Add missing semicolon Resolve missing namespace or scope Replace bad indirection operands (* to & and & to *) Quick Info on closing brace Peek Header… Read more