vscode-docthis icon indicating copy to clipboard operation
vscode-docthis copied to clipboard

Cannot produce documentation for `*** = function(a, b) { } `

Open cuixiping opened this issue 4 years ago • 2 comments

Code:

SomeObject.prototype.method = function(a, b) {
    // ...
};

Expected:

/**
 * 
 * @param {*} a
 * @param {*} b
 */
SomeObject.prototype.method = function(a, b) {
    // ...
};

Actually get an ERROR.

Sorry! 'Document This' wasn't able to produce documentation at the current position.

image

cuixiping avatar Dec 18 '20 10:12 cuixiping

+1, would love if this could be done for fat arrow functions, or any help in getting it into the next version

Wesleyzxc avatar Sep 08 '21 02:09 Wesleyzxc

+1

ArwenFang avatar May 18 '23 03:05 ArwenFang