Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Comment Divider BarNew to Visual Studio Code? Get it now.
Comment Divider Bar

Comment Divider Bar

rnicrosoft-studio

|
1 install
| (0) | Free
Create section dividers with code comments.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Comment Divider Bar

An extension for VS Code to create section dividers with code comments.

Features

Usage: Select the empty line or the section name text you want to divide, and then call commands to create section dividers with code comments.

There are 4 built-in preset styles for quick generation.

# ####################################################################### #
# ################################## H1 ################################# #
# ####################################################################### #

# ======================================================== #
# ========================== H2 ========================== #
# ======================================================== #

# ~~~~~~~~~~~~~~~~~~~ H3 ~~~~~~~~~~~~~~~~~~~~

# ----------- H4 -------------
  • [x] Support full-width characters (emoji, CJK, etc.).
  • [x] Support multi-cursors.

[!tip] You need to use monospace fonts to display full-width characters.

Thanks

This extension is inspired from:

  • https://github.com/zfzackfrost/vscode-commentbars
  • https://github.com/stackbreak/comment-divider
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft