Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Include comment in Create Implementation

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
AstaDan Posted - Jun 12 2014 : 06:02:35 AM
If I declare a function as:
void SaveState (); //Saves check state to registry

Is there any way that Create Implementation can be made to copy the comment ("Saves check state to registry" in this case) into the function description comment?

My "Refactor Create Implementation" VA snippet is:
// ------------------------------------------------------------------------------------------------
/// <summary> </summary>
/// \\author DAN \\date $DAY_02$/$MONTH_02$/$YEAR$
// ------------------------------------------------------------------------------------------------
$SymbolType$ $SymbolContext$ ($ParameterList$) $MethodQualifier$
{
$end$$MethodBody$
}

I would like the comment to be pasted into the 'summary' section.

Maybe this is too optimistic, but I thought I would ask.
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jun 12 2014 : 7:27:12 PM
Unfortunately not currently, we are considering adding this feature though:

case=56606

For now, if all of your functions have comments that you want to copy or move, you could try adding:

// $clipboard$


to the comment block in your "Refactor Create Implementation" snippet. This will require that you copy or cut the comment before triggering the refactoring though.

Another thought is to turn On:

VA Options -> Display -> Display additional comments when available

to tell VA to show comments in tooltips when you hover the mouse over function calls.

http://docs.wholetomato.com/default.asp?W206

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