Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Very minor comment coloring issue
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

MrDoomMaster
Tomato Guru

251 Posts

Posted - May 22 2007 :  8:44:19 PM  Show Profile  Reply with Quote
I've found a minor coloring issue with comments. I'm not sure if this is Visual Assist or Visual Studio.

IDE: Visual Studio 2005 Professional
VAX: Build 1555

Take the following comment block and put it in a file by itself. Ensure the syntax coloring options in VAX are at default settings:

///
/// This is just a convenience wrapper around
/// SetLocation(method::vector2<s32>)
///


Notice that the <s32> part is gray.

Again, minor issue.

Edited by - MrDoomMaster on May 22 2007 8:44:47 PM

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - May 24 2007 :  11:39:07 AM  Show Profile  Reply with Quote
That is a little odd. I am seeing the same thing, both with VA enabled and disabled. Since all the rest of VA's enhanced syntax colouring has disapeared when I disabled it I think it is safe to say the IDE is doing this, for some reason or other.

Change the comments to use // rather than /// and the effect goes away, I think this is a function of the IDE's handling of XML format comments.

zen is the art of being at one with the two'ness
Go to Top of Page

mwb1100
Ketchup Master

82 Posts

Posted - May 24 2007 :  12:37:51 PM  Show Profile  Reply with Quote
quote:
Originally posted by feline

I think this is a function of the IDE's handling of XML format comments.


There's the answer - <s32> is a tag in XML context.
Go to Top of Page

MrDoomMaster
Tomato Guru

251 Posts

Posted - May 28 2007 :  12:31:23 PM  Show Profile  Reply with Quote
Well, I use /// format for Doxygen comment parsing. However, I find it a little odd that Visual Studio parses XML syntax in a C++ file :)

Thanks guys.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - May 29 2007 :  06:32:22 AM  Show Profile  Reply with Quote
Experience indicates that Visual Studio works in mysterious ways

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000