Showing archive results for 2018

Mar 27, 2018
Post comments count0
Post likes count0

Configuring C++ IntelliSense and Browsing

Oleg Kharitonov
Oleg Kharitonov

Whether you are creating a new (or modifying an existing) C++ project using a Wizard, or importing an project into Visual Studio from another IDE, it’s important to configure the project correctly for the IntelliSense and Browsing features to provide accurate information.  This article provides some tips on configuring the projects and describes a ...

DocumentationNew User
Mar 22, 2018
Post comments count0
Post likes count0

C++ Core Checks in Visual Studio 2017 15.7 Preview 2

Sunny Chatterjee
Sunny Chatterjee

This post was written by Sergiy Oryekhov. The C++ Core Guidelines Check extension received several new rules in Visual Studio 2017 15.7 Preview 2. The primary focus in this iteration was on the checks that would make it easier to adopt utilities from the Guidelines Support Library. Below is a quick summary of these additions. For more detailed inf...

DiagnosticsWriting Code
Mar 14, 2018
Post comments count0
Post likes count0

Build Time Improvement Recommendation: Turn off /MAP, use PDBs

YongKang Zhu [MSFT]
YongKang Zhu [MSFT]

点这里看中文版 Map file is a plaintext file that contains information about where certain names and symbols exist in a binary produced by the linker. It also contain detailed information on all sections in your binary (code, data, etc.) and which OBJ/LIB each symbol is defined in. The Windows debuggers (like windbg.exe) can use map files to help locate w...

C++
Mar 13, 2018
Post comments count10
Post likes count0

ClangFormat Support in Visual Studio 2017

Augustin Popa
Augustin Popa

Visual Studio 2017 15.7 Preview 1 comes with built-in ClangFormat support for C++ developers. Specifically, we ship version 5.0 of the clang-format.exe. ClangFormat is a utility that makes it easy to style and format your code based on a set of rules that can be configured in a .clang-format or _clang-format file. This file should be present in you...

C++
Mar 13, 2018
Post comments count0
Post likes count0

C++ Code Analysis Improvements for Visual Studio 2017 15.7 Preview 1

Kyle Reed
Kyle Reed

点这里看中文版 We're making it easier to configure and use the C++ code analysis features with a set of changes targeting 15.7. In the first 15.7 preview we've cleaned up the UI, fixed our documentation links and, most importantly, simplified the way analysis extensions are configured.  If you're not familiar with C++ Core Check, it's a code analysis ext...

DiagnosticsWriting Code
Mar 13, 2018
Post comments count0
Post likes count0

Linux C++ Workload improvements to the Project System, Linux Console Window, rsync and Attach to Process

Marc Goodner
Marc Goodner

点这里看中文版 In Visual Studio 2017 15.7 Preview 1 we have made a number of improvements to our support to the Linux C++ workload based on your feedback. You can learn more about our Linux C++ workload in Visual Studio here. MSBuild Project System improvements We added some new properties to Linux projects on the C/C++ General properties page. Max P...

CMakeLinux
Feb 23, 2018
Post comments count0
Post likes count0

Arithmetic overflow checks in C++ Core Check

Sunny Chatterjee
Sunny Chatterjee

点这里看中文版 We've improved the C++ Code Analysis toolset with every major compiler update in Visual Studio 2017. Version 15.6, now in Preview, includes a set of arithmetic overflow checks. This article discusses those checks and why you’ll want to enable them in your code. If you’re just getting started with C++ Code Analysis in Visual Studio, learn ...

DiagnosticsWriting Code
Feb 20, 2018
Post comments count0
Post likes count0

Visual Studio Code C/C++ extension Feb 2018 update

Rong Lu
Rong Lu

点这里看中文版 The February 2018 update to the Visual Studio Code C/C++ extension is here! In addition to several bug fixes, this update added colorization for inactive code regions, making it easy to read C and C++ code. You can find the full list of changes in the 0.15.0 release notes. Colorization for inactive regions Inactive code regions that are co...

AnnouncementVisual Studio Code
Feb 6, 2018
Post comments count0
Post likes count0

Vcpkg: introducing installation options with Feature Packages

EricMittelette
EricMittelette

We are happy to announce a new feature for vcpkg in version 0.0.103: Feature Packages. Vcpkg is a package manager to help acquiring and building open source libraries on Windows; vcpkg currently offers over 600 C++ libraries available for VS2017 and VS2015. With Feature Packages you have more control over how you build a library as you can specif...

AnnouncementVcpkgNew Feature
Jan 18, 2018
Post comments count0
Post likes count0

C++ Core Check in Visual Studio 2017 15.6 Preview 2

Andrew Pardoe
Andrew Pardoe

点这里看中文版 This post was written by Sergiy Oryekhov. Note that some of the links to docs.microsoft.com do not yet resolve. Not all of the official documentation has yet been written for this topic. Visual Studio 2017 15.6 Preview 2 includes a set of updates to the C++ Core Guidelines Check extension. We added more checks to help with the effort of ...

C++