Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 VA 2476: comments in tooltips break at char 80

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Uniwares Posted - Mar 06 2023 : 07:14:49 AM
For whatever reason, the XML comments in C# tooltips break at column 80 always. (my column indicator is set to 120, no match here)



3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Mar 09 2023 : 12:34:47 PM
It looks like VA isn't really aware of the tooltip width. So, given the width is "unknown", we need to word wrap at some number, and 80 isn't an entirely stupid choice, since I have come across various examples of code standards that say all code should be word wrapped at 80.

As for the XML comment block, adding these comments does seem rather redundant. I have put in a feature request to skip adding XML comments:

case=149259

but non XML comments should still be added to tooltips, since the IDE isn't showing those. I have Doxygen sample comments on hand as a test case, and suspect this does happen in the real world.
Uniwares Posted - Mar 06 2023 : 09:31:31 AM
The real question is why does it break automatically at column 80? Also, why does it show the XML comments since they are already resolved by VS?
feline Posted - Mar 06 2023 : 09:22:42 AM
We really should have a bit more awareness of the width of the tooltip. I think this is covered by:

case=142047

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000