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
 Document method does not work properly
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

andre.horst
Tomato Guru

Germany
150 Posts

Posted - May 14 2013 :  01:37:22 AM  Show Profile  Reply with Quote
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.

feline
Whole Tomato Software

United Kingdom
19025 Posts

Posted - May 14 2013 :  12:43:10 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=7124

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