sublime-jsdocs
sublime-jsdocs copied to clipboard
Option for no leading asterisk
Hi there,
Is there a configuration option for creating the template docs without the leading asterisk? I couldn’t seem to find one..
For example:
function method(arg1, arg2) {}
Generates the following:
/**
[method description]
@param {[type]} arg1 [description]
@param {[type]} arg2 [description]
@return {[type]} [description]
*/
function method(arg1, arg2) {}
The main reason for this is that it allows for easier copying/pasting of code snippets within the comments.
This isn't how Java/JS Docs are written in my experience. Is there a tool or some example of a codebase which uses this style?
Ive seen it in several places. Most notably in ember.js source: https://github.com/emberjs/ember.js/blob/master/packages/ember-application/lib/system/application.js
If this is an extensive request, we are willing to offer a small bounty for it..
I'll take a look.
+1
+1
+1