Showing results for New Feature - C++ Team Blog

May 7, 2019
Post comments count9
Post likes count0

New code analysis quick fixes for uninitialized memory (C6001) and use before init (C26494) warnings

eli fessler
eli fessler

In the latest Preview release of Visual Studio 2019 version 16.1, we’ve added two quick fixes to the Code Analysis experience focused around uninitialized variable checks. These quick fixes are available via the Quick Actions (lightbulb) menu on relevant lines, accessed by hovering over the line or squiggle, or by pressing Ctrl+Period. The first...

AnnouncementNew Feature
May 3, 2019
Post comments count0
Post likes count0

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

Tara Raj
Tara Raj

The May 2019 update of the Visual Studio Code C/C++ extension is now available to C/C++ extension Insiders. This release includes many new features, including Visual Studio Code Remote Development extensions with C/C++, an IntelliSense Configurations settings UI, and IntelliSense improvements.

C++New FeatureVisual Studio Code
Apr 15, 2019
Post comments count3
Post likes count0

In-Editor Documentation for CMake in Visual Studio

Erika Sweet
Erika Sweet

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 error-prone. If...

AnnouncementCMakeNew Feature
Apr 4, 2019
Post comments count4
Post likes count0

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

Tara Raj
Tara Raj

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) The e...

AnnouncementNew FeatureVisual Studio Code
Mar 7, 2019
Post comments count36
Post likes count0

Making C++ Exception Handling Smaller On x64

Modi Mo
Modi Mo

Visual Studio 2019 Preview 3 introduces a new feature to reduce the binary size of C++ exception handling (try/catch and automatic destructors) on x64. Dubbed FH4 (for __CxxFrameHandler4, see below), I developed new formatting and processing for data used for C++ exception handling that is ~60% smaller than the existing implementation resulting in ...

AnnouncementNew Feature
Jan 28, 2019
Post comments count0
Post likes count0

Concurrency Code Analysis in Visual Studio 2019

Sunny Chatterjee
Sunny Chatterjee

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 developer...

AnnouncementNew Feature
Jan 24, 2019
Post comments count0
Post likes count0

Introducing the New CMake Project Settings UI

Erika Sweet
Erika Sweet

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...

AnnouncementCMakeNew Feature
Jan 24, 2019
Post comments count1
Post likes count0

In-editor code analysis in Visual Studio 2019 Preview 2

eli fessler
eli fessler

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...

AnnouncementNew Feature
Jan 24, 2019
Post comments count0
Post likes count0

Lifetime Profile Update in Visual Studio 2019 Preview 2

Kyle Reed
Kyle Reed

The C++ Core Guidelines' Lifetime Profile, which is part of the C++ Core Guidelines, aims to detect lifetime problems, like dangling pointers and references, in C++ code. It uses the type information already present in the source along with some simple contracts between functions to detect defects at compile time with minimal annotation. These a...

New Feature
Dec 18, 2018
Post comments count0
Post likes count0

Out-of-Process Debugger for C++ in Visual Studio 2019

Cagri Aslan
Cagri Aslan

Visual Studio 2019 Preview 1 introduces an improved debugger for C++ that uses an external 64-bit process for hosting its memory-intensive components. If you’ve experienced memory-related issues while debugging C++ applications before, these issues should now be largely resolved with Visual Studio 2019. Background One of the areas of feedback for...

AnnouncementNew Feature