Skip to content

Instantly share code, notes, and snippets.

@paranoidjk
Created December 31, 2015 05:45
Show Gist options
  • Save paranoidjk/fb179f339b964b2bf0e4 to your computer and use it in GitHub Desktop.
Save paranoidjk/fb179f339b964b2bf0e4 to your computer and use it in GitHub Desktop.
a sublime snippet which generate jsdoc style code comments
<snippet>
<content><![CDATA[
/**
* ${1:Summary of this block}
*
* @since ${2:0.8.0}
* @${3:method} ${4:ClassName#methodName}
* @${5:param} {${6:String}} ${7:argName} - ${8:notes of arg}
* @return {${9:String}}
* @example
* ```js
* $0
* ```
*/
]]></content>
<tabTrigger>comment</tabTrigger>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment