Comment Divider installs statistics
By stackbreak · VS Code Marketplace · Snippets
Divide your code by sections with styled separators.
Comment Divider has 162,343 recorded installs on VS Code Marketplace, an increase of 0.5% over the past 30 days, ranking #1789 of 2,515 tracked listings.
Rating: 4.74 / 5 from 19 ratings
About Comment Divider
This is Visual Studio Code extension, which provides commands for generating comment-wrapped separators from line content.
Supports all common languages.
Install
https://marketplace.visualstudio.com/items?itemName=stackbreak.comment-divider
Demo

Commands
Make main header
-
Default Shortcut:
Shift+Alt+X -
Default Style:
/* -------------------------------------------------------------------------- */ /* Example text */ /* -------------------------------------------------------------------------- */
Make subheader
-
Default Shortcut:
Alt+X -
Default Style:
/* ------------------------------ Example text ------------------------------ */
Insert solid line
-
Default Shortcut:
Alt+Y
-
Default Style:
/* -------------------------------------------------------------------------- */
Language Support
Extension uses relevant comment characters for all common languages.
For example, in python files subheader looks like
# ------------------------------ python example ------------------------------ #
or in html files
<!-- ---------------------------- html example ----------------------------- -->
Also, you can easily add support for any missing language or override the default preset.
Default Configuration
Common
// Set line length for all dividers.
"comment-divider.length": 80,
// Set whether the divider will be shrink consider indent size, or will be always fixed length.
"comment-divider.shouldLengthIncludeIndent": false,
-
if
shouldLengthIncludeIndent: false/* --------------------------------- indent0 -------------------------------- */ /* --------------------------------- indent1 -------------------------------- */ /* --------------------------------- indent2 -------------------------------- */ -
if
shouldLengthIncludeIndent: true/* --------------------------------- indent0 -------------------------------- */ /* ------------------------------- indent1 ------------------------------ */ /* ----------------------------- indent2 ---------------------------- */
Main Header
// "Set symbol for main header line filling (only one).
"comment-divider.mainHeaderFiller": "-",
// Set main header vertical style.
"comment-divider.mainHeaderHeight": "block",
// Set main header text align.
"comment-divider.mainHeaderAlign": "center",
// Set main header text transform style.
"comment-divider.mainHeaderTransform": "none",
Subheader
// "Set symbol for subheader line filling (only one).
"comment-divider.subheaderFiller": "-",
// Set subheader vertical style.
"comment-divider.subheaderHeight": "line",
// Set subheader text align.
"comment-divider.subheaderAlign": "center",
// Set subheader text transform style.
"comment-divider.subheaderTransform": "none",
Solid Line
// Set symbol for solid line filling.
"comment-divider.lineFiller": "-",
Languages Configuration
If some language is not supported out of the box, or you want to change default comment characters for an already supported language, it is possible to do it in the settings.
"comment-divider.languagesMap": {
"toml": ["#", "#"],
"scss": ["//"]
}
The item name is the language mode name and is associated with an array of 1 or 2 elements. The first element is the start of the line. The second, if defined, is the end.
The example above defines the right characters for toml and overrides scss defaults. As a result, the subheaders for these languages look like this:
# ------------------------------ toml subheader ------------------------------ #
// ----------------------------- scss subheader --------------------------------
Issues
Request features and report bugs using GitHub.
Description from the VS Code Marketplace listing.
- comment
- divider
- keybindings
- section
- separator
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Ratings over time
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (50)Similar VS Code Marketplace Snippets plugins
All 20 Comment Divider alternativesData source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=stackbreak.comment-divider. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.