Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1646: error in $MethodArgName$ macro

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 - Aug 07 2008 : 2:58:43 PM
I am using the following customization for "Refactor Document Method" but I guess it happens with the default one too: some method arguments cause emtpy values. The type Dictionary<String, String> for example causes one emtpy line; or better, any generic with more than one parameter causes one emtpy line for every aditional parameter. Interesstingly it does not happen for the return type.

/// <summary>
/// 
/// </summary>
/// <param name="$MethodArgName$"></param>
/// <returns>$SymbolType$</returns>


Using Document Method on this:
void FuncX(Dictionary<String, String> paramX){}


Produces:
/// <summary>
/// 
/// </summary>
/// <param name=""></param>
/// <param name="paramX"></param>
/// <returns>void</returns>


I have seen cases where instead of the parameters name, the type + name appear. But i cant repro it reliably, seems to be related to newly created classes.
2   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Aug 11 2008 : 09:40:47 AM
I am seeing the same effect here. Thank you for the clear description.

case=1356
Uniwares Posted - Aug 07 2008 : 4:33:10 PM
Just ended up with the following:

/// <summary>
/// 
/// </summary>
/// <param name="Dictionary<String"></param>
/// <param name="arCurrent"></param>
/// <param name="arNew"></param>
/// <returns>Dictionary<String, CollectorSecurityInfo></returns>
private Dictionary<String, CollectorSecurityInfo> ListNewMachines(Dictionary<String, CollectorSecurityInfo> arCurrent, List<CollectorInformation> arNew) {}

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