views:

345

answers:

1

Hi all!

I want enchanted syntax coloring in comments for C++ language in Visual Studio 2010. For example, I have the following code:

/*!
      \sa testMeToo()
      \param a the first argument.
      \param s the second argument.
*/
int testMe(int a,const char *s);

In Visual Studio all \param, \sa and other Doxygen commands are not highlighted. Is it possible to add custom highlighting to Visual Studio?

As for me ideal syntax highlighting for such C++ comments is in Anjuta (GNU/Linux C++ IDE).

Thanks.

UPDATE

I had finished the basic VS extension with Doxygen commands highlighting. Thanks to DeadMG for idea. I can't vote for his answer because "Vote Up" action requires 15 reputation =(

Here is a link to demonstration: http://yfrog.com/3ddoxygenp

+2  A: 

You can use Visual Studio Extensibility to add custom syntax highlighting. You'll have to check MSDN and the Visual Studio Extensibility SDK to find out how though.

DeadMG
I had finished the basic Visual Studio Extension for syntax highlighting of Doxygen commands.Thank you for the hint! :0)Anyway it very basic (I can improve it, but this will be waste of time) so I prefer to find something more usable :)
Jarlaxle