Make deeply nested code easier to read by coloring each bracket pair a different color in your JetBrains IDE
Quickly spot which block your cursor is in by dimming everything outside the current scope
Track a variable across a function by letting the plugin assign it a unique color
Add colored indent lines to better visualize the structure of your code at a glance
Install via JetBrains plugin marketplace, search 'Rainbow Brackets' inside IDE Settings > Plugins. Works immediately after install with no extra configuration needed.
Rainbow Brackets is a plugin for IntelliJ-based code editors, including IntelliJ IDEA, Android Studio, PyCharm, WebStorm, and other IDEs in the JetBrains family. Its core feature is coloring brackets, parentheses, and curly braces in matching pairs using a sequence of distinct colors. When code has several layers of nested brackets, each pair gets its own color, making it easier to see which opening bracket corresponds to which closing one. Beyond the bracket coloring, the plugin adds several other visual aids. Indent guidelines can be highlighted with colors that correspond to the nesting level of the surrounding code. Scope highlighting dims everything outside the code block your cursor is currently inside, drawing attention to the active section. A variable coloring feature assigns each variable a unique color so you can visually track the same name across a block of code. The plugin supports a wide range of programming languages. Free features cover Java, Kotlin, JavaScript, TypeScript, Python, HTML, XML, YAML, C++, Go, Ruby, Rust, and others. Some languages and some specific features, such as scope highlighting in Python or bracket coloring in C#, are gated behind a paid Premium tier. Installation is done through the JetBrains plugin marketplace, either by searching for Rainbow Brackets inside the IDE settings or by visiting the plugin page directly. A lighter version called Rainbow Brackets Lite is also available for users who want a smaller footprint. The plugin also supports JetBrains Fleet, the newer editor from JetBrains, via a separate plugin listed on the marketplace.
← izhangzhihao on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.