π Search Terms
"JSDoc inside functions", "JSDoc comments inside", "typed function comments"
β
Viability Checklist
β Suggestion
Are we able add support for adding JSDoc typed function comments inside functions, either natively or by a setting?
π Motivating Example
Personally, I find it easier to read JSDoc typed function comments when they are indented nicely inside functions, similar to Python, which would also pair really well with code folding.
function arrayMove(index) {
/**
* @param {Number} index
* @return {Array}
*/
// ...
}
I enquired about this on Stackoverflow last year
π» Use Cases
.
π Search Terms
"JSDoc inside functions", "JSDoc comments inside", "typed function comments"
β Viability Checklist
β Suggestion
Are we able add support for adding JSDoc typed function comments inside functions, either natively or by a setting?
π Motivating Example
Personally, I find it easier to read JSDoc typed function comments when they are indented nicely inside functions, similar to Python, which would also pair really well with code folding.
I enquired about this on Stackoverflow last year
π» Use Cases
.