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

divider

niuiic

|
10 installs
| (0) | 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 divide lines
  • 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
    }
  ]
}
  • 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
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft