Skip to content
Michael Obermeyer edited this page Nov 1, 2015 · 9 revisions

DocStubsJs

DocStubsJs is an extension for Visual Studio that auto-generates documentation comment stubs for JavaScript and TypeScript. Both JSDoc and VSDoc comment styles are supported.

##Release History

Rev 2.1.4

  • Fixed a bug generating comments when function brackets were placed on a new line

Rev 2.1.3

  • Fixed stub generation for typescript functions that specified lambda expressions as parameter types
  • Place cursor at beginning of summary when creating a document stub

Rev 2.1.2

  • Improved detection of return statements when return tag generation is set to "auto"
  • Removed some references to VS 2015 SDK

Rev 2.1.1

  • Added {type} tag to JSDoc comments.
  • Fixed asterisk spacing issues for new lines on JSDoc comments.

Rev 2.1.0

  • Improved support for TypeScript

Rev 2.0.5

  • Fixed an issue installing the extension with machines that have ".NET 4.6 RC" installed.

Rev 2.0.4

  • Corrected spacing of JSDoc comments
  • Improved support for different forms of TypeScript function declarations.

Rev 2.0.3

  • Fixed installation issue for VS2015.

  • Reorganized menu options slightly. Rev 2.0.2

  • Fixed a bug that was causing asterisks to get added on new lines after normal // comments.

Rev 2.0.1

  • Fixed extra white-space on multi-parameter comments.
  • Added options to disable JSDoc and/or VSDoc comments.
  • Added an option to generate JSDocs without an asterisk (*) on each line.
  • Cleaned up options page and renamed it to DocStubsJs.

Rev 2.0.0

  • Renamed to DocStubsJS
  • Added Support for JSDoc (beta)
  • Added Support for TypeScript (beta)
  • Known Issue - Does not work in HTML-based files in VS 2013+

Rev 1.4.3

  • Added Support for Visual Studio 2015 CTP

Rev 1.4.2

  • Fixed a bug that was causing mixed spaces and tabs.

Rev 1.4.1

  • Added support for Visual Studio 2013 Preview
  • Added an option to adjust when return tags are generated (Always, Never, Auto)

Rev 1.4.0

  • Added support for HTML file types - html, cshtml, aspx, etc. (beta)
  • Added an option to disable the auto creation of new comment lines

Rev 1.3.1

  • Indentation will use tabs or spaces based on the Text Editor settings for JavaScript in Tools -> Options.

Rev 1.3.0

  • Added Options that can be found in Tools->Options->JavaScript Document Stubs
  • Added Options to include default attributes for and tags.
  • Added Options to specify whether , , or tags include a blank comment line between the opening and closing tag.

Rev 1.2.2

  • Included a type attribute to all return tags.

Rev 1.2.0

  • Adding a new line while inside an xml comment should create a new comment line.
  • XML comments will now only be added when a triple slash is added on the line immediately following a function declaration (No more random summary tags)
  • New doc comments should auto format to be indented one more tab than the function declaration.

Clone this wiki locally