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
[cmd + shift + p] and find Preferences: Open Keyboard Shortcuts (JSON), this will open keybindings.json.
- Add the following code example:
Example:
[
{
"key": "shift+cmd+z",
"command": "os-comments-formatter.formatComments"
}
]
| |