Skip to content
| Marketplace
Sign in
Visual Studio>Tools>DocStubsJs
DocStubsJs

DocStubsJs

Michael Obermeyer

|
38,154 installs
| (33) | Free
This is a simple extension that auto-generates documentation comment stubs for JavaScript and TypeScript.
Download

View release history, submit issues, or contribute through github.


This extension's goal is to provide a simple way to add documentation to JavaScript and TypeScript by adding comment stubs after typing in the opening of a new documentation comment.

The extension will auto-complete summary tags, parameters, and optionally return tags after typing a "///" on the first line inside a function's body for vsdoc comments.

Here are some nice references for the basic syntax of vsdocs: 

  • http://weblogs.asp.net/bleroy/archive/2007/04/23/the-format-for-javascript-doc-comments.aspx
  • http://msdn.microsoft.com/en-us/library/hh524453.aspx

For JSDoc comments, parameter tags will be added as well as a return tag after typing "/**" on the line above a function header. (Note for Web Essentials users: you may have to disable auto-completion of multi-line comments in the JavaScript options for Web Essentials in order for this to work.)

Type decoration will be added to TypeScript parameters in function comments when the types have been included in the function header.

This extension is available for Visual Studio 2017 here.

This extension can be installed for Visual Studio 2010 SP1 here.

Download older versions here.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft