Is there a way to insert a snippet for XML comments in javascript in Visual Studio 2010 with automatically generated parameters?
If I type /// here...
function foo(a, b){
...it should change to this (depending on the parameters):
function foo(a, b){
/// <summary>$cursorhere</summary>
/// <param name="a" type="string">Param a</param>
/// <param name="b" type="string">Param b</param>
/// <returns type="function">Return function</returns>
So it would be similar to the snippet generation if I'm in C# code.
EDIT
To clarify, I just want to know if there is a shortcut or existing plugin to achieve the functionality mentioned above approximately.

aandbare strings? Also, how can you tell what it returns?