Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>CoolCommentSectionsNew to Visual Studio Code? Get it now.
CoolCommentSections

CoolCommentSections

LightSoulDev

|
342 installs
| (1) | Free
Auto generate cool comment section dividers
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Cool Comment Sections

Automatically generates styled comment sections from your selection.

events

// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// =-                 E V E N T S                 -=
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Supports all languages and comment types.

Installing

You can install the latest version of the extension via the Visual Studio Marketplace here.

Alternatively, open Visual Studio code, press Ctrl+P or Cmd+P and type:

    > ext install coolcommentsections

Source Code

The source code is available on GitHub lightSoulDev/vs-code-comment-sections.

Configuration

coolcommentsections.params

"default": {
    // Width of comment section
    // Not encluding language comment chars
    "blockLenght" : 50, 
    // Don't add upper and bottom diviers
    // Examples:
    //     [false]: "// =-=-=-=-=-=-=-= "
    //              "// =- selection -= "
    //              "// =-=-=-=-=-=-=-= "
    //
    //     [true]:  "// =- selection -= "
    "singleLine" : false,
    // Main divider style
    "divider" : "=-",
    // Trim section size based on divider
    // Examples:
    //     [false]: "// =-=-=-=- "
    //     [true]:  "// =-=-=-= "
    "adjustDivider" : true,
    // Apply spacing and uppercase to selection
    // Examples:
    //     [false]: "// =-      selection      -= "
    //     [true]:  "// =-  S E L E C T I O N  -= "
    "formatSelection" : true
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft