C++ Team Blog

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

Latest posts

Oct 23, 2017
Post comments count 0
Post likes count 1

ARM GCC Cross Compilation in Visual Studio

Marc Goodner

点这里看中文版 ⏱ Updated on January 10, 2018 to cover addition of debugging support in Visual Studio 2017 15.6 In Visual Studio 2017 15.5 we are introduced support for cross compilation targeting ARM microcontrollers. The 15.6 Preview 2 release adds debugging support. To enable this in the installation choose the Linux development with C++ workload and select the option for Embedded and IoT Development. This adds the ARM GCC cross compilation tools and Make to your installation. Our cross compilation support uses our Open Folder capabilities so there is no project system involved. We are using the same JSON configura...

Oct 23, 2017
Post comments count 1
Post likes count 0

Remote tasks in Visual Studio

Marc Goodner

We have introduced a new capability to run remote tasks in Visual Studio 2017 15.5 Preview 2.  This capability allows you to run any command on a remote system that is defined in Visual Studio’s Connection Manager. Remote tasks also provide the capability to copy files to the remote system. This feature is added when you install the Linux development with C++ workload . If you want to learn more about the Open Folder capability in general read https://aka.ms/openfolder/cpp. To get started with this create a file main.cpp in a folder on your PC, add the source below to it and open the folder in VS. To get Linux ...

Oct 20, 2017
Post comments count 0
Post likes count 0

Visual Studio Code C/C++ extension October 2017 update

Rong Lu

点这里看中文版 Yesterday we shipped the October 2017 update of the Visual Studio Code C/C++ extension. Following the lightbulb suggestions for IntelliSense include path feature that was shipped last month, we're adding another feature to make IntelliSense setup easier - support for the compile_commands.json file, eliminating the need for manually configuring includes and defines. In addition, this update also introduces new UI to indicate IntelliSense parsing status. Compile_commands.json to supply includes and defines information for IntelliSense The compile_commands.json file is a compilation database that consists o...

Oct 11, 2017
Post comments count 0
Post likes count 0

Visual Studio 15.5 Preview 1 Productivity Improvements: Structure Visualizer, Ctrl + Click Go to Definition, Faster Find All References, and More

Augustin Popa

点这里看中文版 Visual Studio 2017 Update 15.5 Preview 1 brings you a number of productivity and performance improvements that will save you time as a C++ developer. For this release, we brought two features from the Productivity Power Tools extension inside the product: the Structure Visualizer, and Ctrl + Click to Go To Definition. In addition, we significantly improved the performance of several code navigation and refactoring operations. Structure Visualizer & Ctrl + Click to Go to Definition The Structure Visualizer enables you to tell, at a glance, how your code is structured, and how it is nested. You'll quic...

Oct 4, 2017
Post comments count 0
Post likes count 0

Visual Studio Code C/C++ extension September 2017 Update – more IntelliSense goodness!

Rong Lu

The Visual Studio Code C/C++ extension has had over one million downloads in the past two months! We are very happy to see so much interest in the most popular C++ extension for Visual Studio Code. Even more exciting for us last week was the release of the September 2017 update, which brings in many new features to the extension: Lightbulb include path suggestions for IntelliSense Setting up the include path for IntelliSense just got easier. When you open a folder, the extension will recursively search for potential include paths that match the header files your code is using based on the paths set ...

Sep 26, 2017
Post comments count 0
Post likes count 0

Latest and Greatest in Visual Studio 2017 for C++ developers

Andrew Pardoe

Daniel Moth and Steve Carroll shared what's new in VS 2017 and Updates for C++ developers at CppCon yesterday. You can grab the slides from the talk here, or here in PDF format. A video of the talk is available on YouTube:  If you're at the conference stop by our booth on the fourth floor to ask questions, grab a T-shirt, and take our developer survey for a chance to win an Xbox One S.

Sep 22, 2017
Post comments count 0
Post likes count 0

The Microsoft C++ team is at CppCon 2017

Andrew Pardoe

The Microsoft C++ team is at CppCon 2017. Take our survey, attend talks by our team members, and drop by our booth to say hello! Visual Studio team members are presenting in a great set of talks this year: We'll also be participating on a few panels: There are also some talks from other Microsofties you don't want to miss: We'll also be hanging around the Visual Studio booth from Monday through Thursday. It's on the fourth floor right in the middle, across from room 406. Stop by and see our demos, fill out our developer survey, and grab a Visual C++...

Sep 14, 2017
Post comments count 0
Post likes count 0

CMake support in Visual Studio – CMake 3.9, Linux targeting, feedback

Will Buik

点这里看中文版 Visual Studio 2017 15.4 Preview 2 is now available and includes enhancements to Visual Studio’s CMake tools.  The latest preview upgrades CMake to version 3.9, includes better support for independent CMakeLists, and supports targeting Linux directly. Please check out the preview and try out the latest CMake features.  If you are just getting started with CMake, follow the link to learn more about CMake support in Visual Studio.  We are looking forward to your feedback. CMake Tools Upgraded to CMake 3.9 You can find the full lists of enhancements in the CMake 3.9 release notes. Better Support for Folders...

Sep 11, 2017
Post comments count 0
Post likes count 0

Two-phase name lookup support comes to MSVC

Andrew Pardoe

点这里看中文版 This post written by Tanveer Gani, Stephan T. Lavavej, Andrew Marino, Gabriel Dos Reis, and Andrew Pardoe "Two-phase name lookup" is an informal term that refers to a set of rules governing the resolution of names used in a template declaration. These rules were formalized more than two decades ago in an attempt to reconcile two opposing compilation models for templates: the inclusion model (what most developers know of templates today), and the separation model (the basis of the original design for templates). You can find the genesis of dependent names in the foundational paper Proposed Revisions to t...