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

divider

niuiic

|
363 installs
| (1) | Free
custom divide lines
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

divider.vs

Features

  • highlight, list, navigate to dividers
  • mark current divider
  • highly configurable

Example Config

in settings.json

{
  "divider.divider": [
    {
      "level": 1,
      "dividerRegex": "%%=+ [\\S\\s]+ =+%%",
      "textRegex": "%%=+ ([\\S\\s]+) =+%%",
      "color": "green",
      "list": true
    },
    {
      "level": 2,
      "dividerRegex": "%%\\-+ [\\S\\s]+ \\-+%%",
      "textRegex": "%%\\-+ ([\\S\\s]+) \\-+%%",
      "color": "yellow",
      "list": true
    }
  ],
  "divider.iconPath": "path to icon(prefer svg)",
  "divider.markCurrentDivider": true
}
  • divider
    • level: level of current divider
    • dividerRegex: regex to match the divider
    • textRegex: regex to match the content of the divider
    • color: highlight color
    • list: whether to list the divider in sidebar
  • iconPath: path to icon which is used to mark current divider
  • markCurrentDivider: whether to mark current divider, default is true
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft