Is there a way to generate JSDoc comments in Visual Studio Code
Solution 1:
Visual Studio 1.10 is now able to generate JSDoc comments.
Just type /**
above the function
See Also:
- VS Code Docs > Languages > Javascript > JSDoc Support
- VS Code February 2017 Release Notes > Auto JSDoc Comments
Solution 2:
I really like "Document This".
Installation
Launch VS Code Quick Open (⌘+P), paste the following command, and press enter.ext install docthis
https://marketplace.visualstudio.com/items?itemName=oouo-diogo-perdigao.docthis
It has some nice features like adding doc blocks to an entire file.
Solution 3:
Maybe give this JSDoc extension a try: https://marketplace.visualstudio.com/items/stevencl.addDocComments
You can install extensions in VS Code from View
> Command Palette
Solution 4:
A related one.
I was finding for Visual Studio 2017 Community edition, below helped:
https://marketplace.visualstudio.com/items?itemName=MichaelObermeyer.DocStubsJs2017