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
 Feature Requests
 XML comment in quick info tool tip
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mkoe
Junior Member

13 Posts

Posted - Sep 10 2012 :  2:27:04 PM  Show Profile  Reply with Quote
VAX provides the functionality to display source comments for C++ files. This is indeed a nice feature and I have noticed that some keywords like "\\brief" are marked as bold. But XML comments a written in plain text. Is there any possibility to color or highlight XML comment like coloring in code editor?

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 11 2012 :  4:08:10 PM  Show Profile  Reply with Quote
Unfortunately, there is no option to do that.
Which IDE version and programming language are you using?
You mentioned C++, but Visual Studio is not coloring <summary> and <remarks> in the code editor to grey for me. Not even with C++/CLI (Windows Forms Application project) On the other hand, in C#, where the coloring is like on your screenshot, VS2008, VS2010 and VS2012 only shows the summary of the comments in the tooltip (with VA).

Edited by - accord on Sep 11 2012 4:09:53 PM
Go to Top of Page

mkoe
Junior Member

13 Posts

Posted - Sep 11 2012 :  4:17:59 PM  Show Profile  Reply with Quote
We use Visual Studio 2010 Professional Version 10.0.40219.1 SP1Rel with C++/CLI. The tag coloring can be configured in "Fonts and Colors" with "XML Doc Tag" entry.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 17 2012 :  5:00:47 PM  Show Profile  Reply with Quote
*ah* Thank you for the setting name. It does work indeed.

I have put in a feature request for this to see what the developers make of it:

case=69356
Go to Top of Page

mkoe
Junior Member

13 Posts

Posted - Sep 18 2012 :  02:53:04 AM  Show Profile  Reply with Quote
Thanks!

It would be nice if the format style for showing XML comments can be more than only coloring but more interpreting of a few XML tags.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 18 2012 :  4:08:11 PM  Show Profile  Reply with Quote
What do you mean? Something like this?

<summary>Something</summary>
<remarks>Remark line 1
Remark line 2<remarks>

<parapm name="param1">the first param</param>

summary: Something.
remarks:
Remark line 1
Remark line 2

param1: the first params.

etc.
Go to Top of Page

mkoe
Junior Member

13 Posts

Posted - Sep 19 2012 :  02:03:49 AM  Show Profile  Reply with Quote
Yes, exactly. Something like that would be nice.

In XML comments there can be tags inside tags. For example <see cref="OtherClass" />. Maybe these words can be printed bold. But I think your developers will find a nice and clean way for displaying XML comments. ;-)
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 19 2012 :  07:05:45 AM  Show Profile  Reply with Quote
Thanks. I've added a comment to the case.
Go to Top of Page

mkoe
Junior Member

13 Posts

Posted - Sep 19 2012 :  07:08:13 AM  Show Profile  Reply with Quote
Thanks! ;-)
Go to Top of Page

Dunemaster
New Member

Russia
8 Posts

Posted - Dec 05 2012 :  12:25:09 AM  Show Profile  Reply with Quote
I would vote for these option, too
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Dec 06 2012 :  7:42:37 PM  Show Profile  Reply with Quote
I have added your vote to the case Dunemaster.

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