Is there a plugin for vim, somewhat like Jsbeautify, which automatically generates JavaDoc like comments in the script files.
For example it will take this
function(a , b , c){
}
and return
/**
* Description.
*
* @param a Description.
* @param b Description.
* @param c Description.
*/
function(a , b , c){
}
Here’s a little something to get you started – tweak as required!-)
Assuming the parameter list is on one line, it tries to match out the parameters, builds up a comment string, and appends that comment string to the line before the function header.