My job at Mojotech often involves editing sophisticated CSS rules. Sometimes, a single rule is so large that it cannot be viewed all at once. In these cases, it can be hard to remember the indentation level for a rule. That’s why I whipped up a quick plugin for my current text editor of choice, Sublime Text 2.

When I place my cursor on the ending bracket for a rule, the plugin finds the matching open bracket, and displays the preceding text on the status line. This way, I don’t have to scroll up to see which rule I’m editing. It is also very helpful in identifying stray brackets or improper indentation.

If you think this sounds interesting, check out the plugin at:

For more custom bracket guides, I highly recommend:

—David Dufresne