I use a modified form of TODO comment (SteveC_TODO) that allows me to group my own todos together in the task list.
Yesterday I thought it would be nice to modify the refactoring snippets to add a todo comment to the usual NotImplemented exception. I modified the Method Stub - Body snippet to this
$signature$
{
//SteveC_TODO: implement $end$$signature$
throw new $Exception$();
}
but this results in the todo comment having the full method signature. It serves the purpose but I would prefer the comment to only use the name from the method signature and be of the form
//SteveC_TODO: implement CoolMethod
rather than of the form
//SteveC_TODO: implement private void CoolMethod(object o)
Does anyone know of a way that I can do this? I presume that the arguments passed to refactoring snippets are fixed but perhaps there is a way to parse the $signature$ argument to extract just the name. Anyone know if that might be possible?