Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>OS Comments FormatterNew to Visual Studio Code? Get it now.
OS Comments Formatter

OS Comments Formatter

Strong Dev

|
3 installs
| (0) | Free
Auto format block comments.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

About OS Comments Formatter

What does it do?

Auto format block comments, fill up the missing * or trim the extra.

From:
/***/
/* Your Commnets */
/************************/

To:
/*****************/
/* Your Commnets */
/*****************/

How to use it?

[cmd + shift + p] and find OS Commnets Formatter..., excute cmd.

Use Shortcut

  1. [cmd + shift + p] and find Preferences: Open Keyboard Shortcuts (JSON), this will open keybindings.json.
  2. Add the following code example:
Example:

[
    {
        "key": "shift+cmd+z",
        "command": "os-comments-formatter.formatComments"
    }
]
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft