Autogenerate comments for an entire file
Opened this issue · 1 comments
Arkotek commented
Hello,
Is it possible to generate JSDOC comments for a whole file?
Deleted user commented
You can use yasnippet (with custom snippet) or auto-insert-mode
for that.
Example with yasnippet: my-snippet/js2-mode/header
# -*- mode: snippet -*-
#name : Project header
# --
/**
* @fileOverview ${1:Default description file.}
* @name ${2:`(buffer-name)`}
* @author ${3:`(user-full-name)`} <${4:`user-mail-address`}>
* @license AGPL 3.0
*/
$0