Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Collection of good C++ Themes in Visual Studio 2010?

I have found the site: http://studiostyl.es/ which specializes in Visual Studio 2010 themes. However, it appears that all of these themes are built with C# and .NET development in mind.

I am currently trying to get into some C++ programming and couldn't find anything on the subject of special themes for C++. Right now, almost all of my C++ code is a plain color and it looks like I might as well be writing it in notepad.

It may even be that I have my settings messed up and that those themes from studiostyles are supposed to be for all languages; I just started using Visual Studio.

Thanks for any replies.

like image 407
fjlksahfob Avatar asked Feb 05 '11 17:02

fjlksahfob


People also ask

How do I get more themes for Visual Studio?

The easiest way to install a Visual Studio theme is to navigate over to the Extensions option in the menu bar and select Manage Extensions. The next step is to select Visual Studio Marketplace under Online on the left panel. Once done, search for the theme you want and select it in the search results.

Can you add themes to Visual Studio?

You can create and edit your own Visual Studio themes by using an extension. Choose from either of the following two options, depending on the version of Visual Studio you're using: Color Theme Designer for Visual Studio 2019. Color Theme Editor for Visual Studio 2017.

How do I make Visual Studio colorful?

Set the color theme for the IDE On the menu bar, which is the row of menus such as File and Edit, choose Tools > Options. On the Environment > General options page, change the Color theme selection to Dark, and then choose OK. The color theme for the entire Visual Studio development environment (IDE) changes to Dark.


1 Answers

No, the problem is that Visual Studio simply doesn't have anywhere near the built-in syntax highlighting support for C++ as it does for C# or VB.NET. Some syntax highlighting does work. For example, strings, comments, preprocessor directives, operators, numbers, and the built-in keywords all get their own colors. But a lot of your code will indeed be in one color ("Identifiers") if you don't lift a finger.

As Jerry suggests, Visual Assist X offers far better syntax highlighting than the default. But it's not free.

If you're like me and looking for a low-budget solution, you can define your own keywords. This will at least make them show up in the color earmarked for "User Keywords". The link explains what you'll need to do in more detail, but it's really as simple as placing a plain-text file named "usertype.dat" in the Visual Studio application folder, and typing each of the custom keywords that you want to appear highlighted in their own color on a separate line. You'll have to restart the IDE for your changes to take effect.

Since you're using VS 2010, another free solution is the Highlighterr for Visual C++ extension. This is one step up from defining your own keywords, and gets a little fancier with syntax highlighting. It takes advantage of the new Intellisense support in VS 2010 to turn on highlighting for classes, structs, macros, and typedefs. I haven't installed it yet myself because I'm still doing C++ development in VS 2008, but I'd very much like to try it out.

side-by-side comparison with Highlighterr before and after

like image 115
Cody Gray Avatar answered Sep 22 '22 01:09

Cody Gray