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 |
|
|