Colorized Brackets for IDE

By  on  

Coders treat their text editors and IDE's like fragile beings, and for good reason: we spend a ton of time in them and having our tweaks and extensions can make us incredibly productive for our personal workflows. I always love hearing about what extensions and workflows other developers use to see if I can put them to my own use.

That's why @Souvir may have changed my life with this tweet:

I have never put much thought into brackets but I've been using the Bracket Pair Colorizer extension in VSCode for a few days now and I'll never go without it. Those of use who work regularly with the mess that JSX can create will appreciate this extension even more!

Regardless of text editor or IDE you use, give a bracket colorizer extension a try -- if may help you to identify your blocks more quickly!

Recent Features

  • By
    Responsive Images: The Ultimate Guide

    Chances are that any Web designers using our Ghostlab browser testing app, which allows seamless testing across all devices simultaneously, will have worked with responsive design in some shape or form. And as today's websites and devices become ever more varied, a plethora of responsive images...

  • By
    fetch API

    One of the worst kept secrets about AJAX on the web is that the underlying API for it, XMLHttpRequest, wasn't really made for what we've been using it for.  We've done well to create elegant APIs around XHR but we know we can do better.  Our effort to...

Incredible Demos

  • By
    Full Width Textareas

    Working with textarea widths can be painful if you want the textarea to span 100% width.  Why painful?  Because if the textarea's containing element has padding, your "width:100%" textarea will likely stretch outside of the parent container -- a frustrating prospect to say the least.  Luckily...

  • By
    5 More HTML5 APIs You Didn’t Know Existed

    The HTML5 revolution has provided us some awesome JavaScript and HTML APIs.  Some are APIs we knew we've needed for years, others are cutting edge mobile and desktop helpers.  Regardless of API strength or purpose, anything to help us better do our job is a...

Discussion

  1. I love VSCode and actually built one of the top five themes on the marketplace (called Shades of Purple) — but having multi-colored brackets just messes with my head lol. It makes the syntax look weird.

    Don’t get me wrong, I get that it helps but this is a bit out there for me having such a weird colorful syntax. What are your thoughts on that?

    Looking forward, peace! ✌️

  2. BryanYang

    it’s exactly a nice tool.

  3. There is actually a version 2 available.
    https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer-2

    And if you use it in combination with Solarized Light you may be interested in these color settings for it:
    https://twitter.com/daKmoR/status/1084509886048804866

  4. Alex

    The default colors won’t look as nice if you’re using a light theme on a dim screen.
    Still over 3M downloads and this is the first time I head about this extension.

  5. Erez

    Holy hell… mind = blown! This was probably the most helpful blogpost I have read in a while

  6. Has anybody come across something similar for Brackets or Coda?

Wrap your code in <pre class="{language}"></pre> tags, link to a GitHub gist, JSFiddle fiddle, or CodePen pen to embed!