vuejs / vetur

Vue tooling for VS Code.

Home Page:https://vuejs.github.io/vetur/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JSDoc generation support

Rohaq opened this issue · comments

  • I have searched through existing issues

Feature Request

I've noticed in my time using Vetur for development, that it doesn't support the automatic generation of JSDocs inside .vue files.

Normally, in a JS/TS file, if you start typing /** and hitting Enter on the line above a function, it will do its best to generate a JSDoc block based on the function's existing parameters, types, etc. This is functionality built into VSCode, that unfortunately this doesn't work inside <script> tags in .vue files.

Is there any way Vetur can extend the existing JSDoc generation functionality in Vue files?

你好,我也遇到了同样的问题,请问找到解决方案了吗?