Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C++ syntax highlighting for Visual Studio 2008?

I just want to see my own datatypes/functions/function parameters with a different color.

I have used Visual Assist X before, but it stopped working for some unknown reason. It doesn't color the custom functions or function parameters every time. Also, my trial time is over soon, and I am not going to buy something that doesn't work properly or whose most features I don't even use.

So, if there's any free syntax highlighting that colors all functions, etc. for Visual Studio 2008, that's what I'm looking for.

like image 341
Newbie Avatar asked Nov 13 '10 00:11

Newbie


People also ask

Does Visual Studio have syntax highlighting?

The Syntax highlighting feature makes PHP code more readable as any other language file integrated in Visual Studio. Script code blocks, variables, keywords, strings, script tags and comments are distinguished to make programming easier.

What is syntax highlighting in Visual Studio?

Syntax highlighting determines the color and style of source code displayed in the Visual Studio Code editor. It is responsible for colorizing keywords like if or for in JavaScript differently than strings and comments and variable names.

How do I change the highlighting syntax?

You can change (or apply) syntax highlighting for the active file by using the View as language drop down in the Formatting group of the Coding tab, or the syntax highlighting selector in the Status bar.

What do the different colors in Visual Studio mean?

Here's your quick reference to the colors and icons in the editor window's right-hand margin: Yellow: The line has been changed but not yet saved. Green: The line has been changed and saved. Orange: The line has been changed, saved, and the change undone. Little square dots in the middle of the margin: Break points.


1 Answers

You can create a file(usertype.dat) containing any names, these will be colored differently.

You can read more about that here

Unfortunately you can't give your different types different colors from there but at least you can get your own types colored.

like image 159
AndersK Avatar answered Nov 15 '22 18:11

AndersK