Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Bille's rainbow bracketsNew to Visual Studio Code? Get it now.
Bille's rainbow brackets

Bille's rainbow brackets

Andreas Bille Madsen

|
1 install
| (0) | Free
| Sponsor
Colorizes curly brackets {} with dark-mode-optimized neon rainbow colors by nesting depth and highlights the active bracket pair around your cursor.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Bille's Rainbow Brackets

A lightweight, high-contrast VS Code extension that colorizes curly brackets { } in vivid dark-mode-optimized rainbow colors based on nesting depth, and highlights the active bracket pair around your cursor.

License: MIT GitHub Buy Me A Coffee


⚡ Features

  • 7 Dark-Mode-Optimized Neon Rainbow Colors: Automatically cycles through high-contrast rainbow colors (#FF55E6, #C490FF, #00E5FF, #00FF87, #FFEE55, #FF9E3B, #FF5555) for each nesting level, with a subtle matching background glow.
  • Active Pair Highlighting: The { ... } pair surrounding your cursor is highlighted with a crisp colored border in its own rainbow color so you can immediately see which brackets belong together.
  • Smart Parsing: Ignores brackets inside string literals ("...", '...', `...`) and comments (// and /* ... */) so colors never get out of sync.
  • Fully Configurable:
    • rainbowBrackets.enabled (true by default): Enable or disable rainbow bracket colorization.
    • rainbowBrackets.onlyCurlyBraces (true by default): Only colorizes curly braces {} by default (set to false if you also want () and []).
    • rainbowBrackets.colors: Customize the array of hex colors used for each nesting level.

⌨️ Commands

  • Bille's rainbow brackets: Toggle On/Off (rainbowBrackets.toggle) — Quickly toggle rainbow brackets on or off from the Command Palette (Ctrl+Shift+P / Cmd+Shift+P).
  • Bille's rainbow brackets: Buy Me a Coffee ☕ (rainbowBrackets.buyMeACoffee) — Open the Buy Me a Coffee page in your browser.

☕ Support the Project

If Bille's Rainbow Brackets makes your daily coding workflow in VS Code cleaner and more enjoyable, please consider buying me a coffee!

Buy Me A Coffee

Every contribution is deeply appreciated and fuels new features, bug fixes, and continuous updates. Thank you! 💙


📄 License

MIT © Andreas Bille

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft