2014-03-11 20:10:50 +00:00
|
|
|
priority -50
|
|
|
|
|
|
|
|
# JSDoc snippets
|
|
|
|
|
|
|
|
snippet /* "A JSDoc comment" b
|
|
|
|
/**
|
|
|
|
* ${1:${VISUAL}}$0
|
|
|
|
*/
|
|
|
|
endsnippet
|
|
|
|
|
|
|
|
snippet @au "@author email (First Last)"
|
2014-10-14 13:30:33 +00:00
|
|
|
@author ${1:`!v g:snips_author`} [${2:`!v g:snips_author_email`}]
|
2014-03-11 20:10:50 +00:00
|
|
|
endsnippet
|
|
|
|
|
|
|
|
snippet @li "@license Description"
|
|
|
|
@license ${1:MIT}$0
|
|
|
|
endsnippet
|
|
|
|
|
|
|
|
snippet @ver "@version Semantic version"
|
|
|
|
@version ${1:0.1.0}$0
|
|
|
|
endsnippet
|
|
|
|
|
|
|
|
snippet @fileo "@fileoverview Description" b
|
|
|
|
/**
|
|
|
|
* @fileoverview ${1:${VISUAL:A description of the file}}$0
|
|
|
|
*/
|
|
|
|
endsnippet
|
|
|
|
|
|
|
|
snippet @constr "@constructor"
|
|
|
|
@constructor
|
|
|
|
endsnippet
|
|
|
|
|
|
|
|
snippet @p "@param {Type} varname Description"
|
|
|
|
@param {${1:Type}} ${2:varname} ${3:Description}
|
|
|
|
endsnippet
|
|
|
|
|
|
|
|
snippet @ret "@return {Type} Description"
|
|
|
|
@return {${1:Type}} ${2:Description}
|
|
|
|
endsnippet
|
|
|
|
|
|
|
|
snippet @pri "@private"
|
|
|
|
@private
|
|
|
|
endsnippet
|
|
|
|
|
|
|
|
snippet @over "@override"
|
|
|
|
@override
|
|
|
|
endsnippet
|
|
|
|
|
|
|
|
snippet @pro "@protected"
|
|
|
|
@protected
|
|
|
|
endsnippet
|