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
 Include comment in Create Implementation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

AstaDan
Junior Member

United Kingdom
17 Posts

Posted - Jun 12 2014 :  06:02:35 AM  Show Profile  Reply with Quote
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.

feline
Whole Tomato Software

United Kingdom
19186 Posts

Posted - Jun 12 2014 :  7:27:12 PM  Show Profile  Reply with Quote
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

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