Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Document method does not work properly

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
andre.horst Posted - May 14 2013 : 01:37:22 AM
Win7, VC2010SP1, latest VAX.

I have the following "Document Method" snippet:
/// <summary>$end$.</summary>
/// <param name='$MethodArgName$'>.</param>
/// <remarks>.</remarks>
/// <returns>$SymbolType$.</returns>


Use the following test-function:
template< typename T >
T test( T p1, T (*p_f)(T p2), T p3 )
{
}


Now put the cursor on "test" and use the refactoring "Document Method". This produces
/// <summary>.</summary>
/// <param name='p1'>.</param>
/// <param name=''>.</param>
/// <param name='p_f'>.</param>
/// <param name='p2'>.</param>
/// <param name='p3'>.</param>
/// <remarks>.</remarks>
/// <returns>T.</returns>

The empty parameter should not appear, also p2 should not appear. But it would be nice if the template paraemter itself would be listed.
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - May 14 2013 : 12:43:10 PM
I am seeing the same effect here. Thank you for the clear description.

case=7124

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