Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSDoc generation support #3431

Open
1 task done
Rohaq opened this issue May 9, 2022 · 1 comment
Open
1 task done

JSDoc generation support #3431

Rohaq opened this issue May 9, 2022 · 1 comment

Comments

@Rohaq
Copy link

Rohaq commented May 9, 2022

  • 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?

@zhoukaiyue
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants