Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>TSDoc CommentNew to Visual Studio Code? Get it now.
TSDoc Comment

TSDoc Comment

kingsimba

|
9,078 installs
| (0) | Free
An extension for converting simple C/C++ style comments into TSDoc style comments
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

TSDoc Comment

A VSCode extension for converting simple C/C++ style comments into TSDoc style comments

Features

Convert:

// This is a multi-line comment
// And will be converted into
// TSDoc style comment
name: string;
@Expose({name: 'len'})
length: number; // this a single line comment

Into:

/** This is a multi-line comment
 * And will be converted into
 * TSDoc style comment
 */
name: string;
/** this a single line comment */
@Expose({name: 'len'})
length: number;

features

How to Use

  1. Select a block of text
  2. Press Ctrl+Shift+P. Select TSDoc Comment: convert selected text into TSDoc style comment

License

MIT.

Code Repository

https://github.com/kingsimba/vscode-tsdoc-comment

Release Notes

1.1.1

  • Bug fix: Can handle URL in comments correctly.

1.1.0

  • Support ///< COMMENT style single line comment.
  • Put comment before TypeScript annotations.

1.0.0

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