Visual Studio vNext Code Editor Improvements for C++

| by Jonathan Allen Follow 576 Followers on Aug 30, 2011. Estimated reading time: 1 minute |

Sumit Kumar on the VC++ team has revealed some of the new IDE features for the next version of Visual Studio. While some of them are merely catching up to VB/C#, others suggest new features that all of the languages could take advantage of.

First up is “Semantic Colorization”. This adds colorization to types, enumerations, and macros to the C++ code editor. An interesting idea is adds is the distinction between local variables and parameters, the latter being shown in italics. Like VB and XAML, there are many more language-specific tokens that they user can apply custom styling to. Here is the tentative list that Sumit offered:

Reference Highlighting, already familiar to VB and C# users, is now included. As in those languages, the Control+Shift+[Up/Down] keyboard shortcut will jump to the next/previous reference.

IntelliSense for C++ has gotten a boost. You no longer need to explicitly open the code-completion dropdown, suggesting that they fixed the performance problems that necessitated not opening it automatically in the past. The list also supports member list filtering, a much welcome enhancement when dealing with long lists of functions.

Code snippets are now in C++ as well. For those of you who aren’t .NET developers, a code snippet could be thought of as a one-shot macro or template. For example, if you type “switch<Tab>” it will add the necessary parenthesis, braces, and default case statement. Code snippets are configurable and there is some logic for linked fields to further reduce typing. While one can edit the snippet XML file by hand, the Snippet Editor by Bill McCarthy makes it much easier.

A new version of the Solution Explorer tool window is slated for the next release. This is clearly based on the functionality offered by the Productivity Power Tools extension. It would not be surprising if other features get promoted from this extension to the main build in the next version.

Rate this Article

Adoption Stage

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Italics? by Srdan Srepfler


Re: Italics? by Jonathan Allen

That's what they are saying. I think I would like that, but if not it is easy enough to turn it off.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

2 Discuss

Login to InfoQ to interact with what matters most to you.

Recover your password...


Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.


More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.


Stay up-to-date

Set up your notifications and don't miss out on content that matters to you