Search code examples
visual-studio-codejsdoc

Is there a way to generate JSDoc comments in Visual Studio Code


I am currently developing a NodeJS project and found out that there is no built in functionality to create JSDoc comments for functions/methods.

I am aware of the TypeScript definitions that exist but I couldn't really find anything to match what I need.

WebStorm, for example, has some pretty neat JSDoc functionalities. Can one somehow achieve a similar functionality?


Solution

  • Visual Studio Code 1.10 is now able to generate JSDoc comments.

    Just type /** above the function

    screenshot of Visual Studio Code UI assisting with the generation of a JSDoc comment

    See Also: