jeremyvii / vs-docblockr

DocBlockr for Visual Studio Code
GNU Lesser General Public License v3.0
21 stars 8 forks source link

Setting to remove extra blank lines #82

Closed John-Dean closed 3 years ago

John-Dean commented 4 years ago

Is your feature request related to a problem? Please describe. Remove the extra blank lines added to the generated DocBlocks.

Current formatting:

/**
 * [sample description]
 *
 * @param   {[type]}  param1  [param1 description]
 * @param   {[type]}  param2  [param2 description]
 *
 * @return  {[type]}          [return description]
 */
function sample(param1, param2){}

Suggested formatting:

/**
 * [sample description]
 * @param   {[type]}  param1  [param1 description]
 * @param   {[type]}  param2  [param2 description]
 * @return  {[type]}          [return description]
 */
function sample(param1, param2){}
jeremyvii commented 3 years ago

Two settings, Align Tags and New Lines Between Tags, were adding to give further flexibility with docblock style. These settings will be available in the next release.