sublime-jsdocs icon indicating copy to clipboard operation
sublime-jsdocs copied to clipboard

The return tag 'yield' does not respect description alignment

Open shardulm94 opened this issue 9 years ago • 0 comments

When I create a docblock on a generator function, the description tag is aligned with the parameters above it and not other descriptions.

Actual output:

/**
 * [*foo description]
 * @param {[type]} bar           [description]
 * @param {[type]} baz           [description]
 * @yield {[type]} [description]
 */
function *foo(bar, baz) { }

Expected output:

/**
 * [*foo description]
 * @param {[type]} bar [description]
 * @param {[type]} baz [description]
 * @yield {[type]}     [description]
 */
function *foo(bar, baz) { }

shardulm94 avatar Feb 21 '16 20:02 shardulm94