lehre (jsdoc/esdoc/tsdoc document block generator) extension for coc.nvim
- For "line" and "range" of "Code Actions", automatically detect and process the range of the corresponding symbol block
- There is a pattern of broken indentation in lehre
CocInstall:
TODO
vim-plug:
Plug 'yaegassy/coc-jsdoc', {'do': 'yarn install --frozen-lockfile'}
Quickly generate document block for typescript/javascript.
jsdoc.enable
: Enable coc-jsdoc extension, default:true
jsdoc.lehrePath
: (OPTIONAL) The path to the lehre tool (Absolute path), default:""
jsdoc.formatter
: Document block formatter (--formatter), valid options["jsdoc", "esdoc", "tsdoc"]
, default:"jsdoc"
jsdoc.enableFileAction
: Enable file-level code action, default:false
Add document block for "Line" by jsdoc
Add document block for "Range" by jsdoc
Add document block for "File" by jsdoc
- File-level code actions are disabled (false) by default.
jsdoc.run
: Run lehre for file
- heavenshell/vim-jsdoc
- This is a vim plugin by the author of lehre.
MIT
This extension is built with create-coc-extension