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 |
|
|