A Visual Studio Code extension that formats code comments to fit a maximum number of chars on each line.
Select the comment lines and choose the Format Comment command from your Command Palette.
Lines starting with //
, ///
, //!
, #
, or *
will be formatted.
Setting | Meaning | Default |
---|---|---|
format-comment.settings.maxLength |
Maximum length of the line. | 80 |
Licensed under MIT license, see LICENSE.md for details.