Rainbow Brackets

The plugin update is pending JetBrains approval
Compatible with: IntelliJ IDEA PhpStorm WebStorm PyCharm RubyMine AppCode CLion GoLand DataGrip Rider MPS Android Studio
Jul 15, 2018
240 162
Rainbow Brackets / Rainbow Parentheses for IntelliJ based IDEs

Supported languages:

Java, Scala, Clojure, Kotlin, Python, Haskell, Agda, Rust, JavaScript, TypeScript, Erlang, Go, Groovy, Ruby, Elixir, ObjectiveC, PHP, HTML, XML, SQL, Apex language ...


with-java

with-material-theme-ui.png

with-scala

with-kotlin

with-Clojure.png

with-HTML.png

Highlight current scope.gif

Highlight current scope.gif

Download plugin

Recent change notes

5.9

  • Rainbow Kotlin lambda expression arrow(#142).
  • Experimental feature: Highlight Kotlin label(#143).
  • Override "MATCHED_BRACE_ATTRIBUTES".
  • Improve configs & docs.
  • Cleanup temp code & deprecated code.
  • Remove anonymous feedback.

5.8.3

  • Improve anonymous feedback

5.8.2

  • Override kotlin plugin setting `KOTLIN_FUNCTION_LITERAL_BRACES_AND_ARROW` to empty so that we could rainbowify multiple level lambda expressions.

5.8.1

  • Fix #67: Can't find resource for bundle java.util.PropertyResourceBundle, key version
  • Improve anonymous feedback

5.8

  • Feature #52 Flat out all text other than brackets on key (Alt + Button3) press. (via pull request#63)
  • Feature #61 Change Highlight Current Scope Keymap to Ctrl + Button3 (Windows & Linux) or Meta+ Button3 (Mac) (via pull request#63)
  • Add anonymous feedback support

5.7.1

  • Fix #60 :Exception in v5.7
  • Experimental feature: Highlight current scope when Ctrl(Windows & Linux)/Meta(Mac) key pressed (feature #37 / pull request#59)

5.7

  • Experimental feature: Highlight current scope when Ctrl(Windows & Linux)/Meta(Mac) key pressed (feature #37 / pull request#59)

5.6

  • Performance improvement

5.5

  • Fix #53 The closing brackets or keywords are not highlighted (Ruby & PHP)

5.4

  • Fix #53 The closing brackets or keywords are not highlighted (Ruby & PHP)

5.3

  • Improve angle bracket support for Groovy

5.2

  • #48 Performance improvement
  • #49 Fix images size

5.1

  • #39 Enable rainbow html in js

5.0

  • Finally, intellij-rainbow-brackets released version 5.0 with all RC features & bug fix
  • Thanks for https://github.com/YiiGuxing, which helps move this plugin from `Annotator` to `HighlightVisitor`!
  • Check more info at here
  • From 5.x series we didn't need specific implementations like java/scala/kotlin specific implementations in 3.x series any more!

  • #13 Add test for dart support & add `DartAngleBracketProvider` for support dart angle brackets
  • #18 where to customize brackets color? See the config guide in here
  • Add test for #39
  • #38 Add support for JSX (React)
  • Fix #27 Settings no longer works
  • #30 Adjust color: remove red, purple from color palettes, add some material design color to color palettes.
  • #32 Add version info in setting page
  • #31 Fix 'Enablement of round brackets enables all but angle brackets'
  • #10 #2 Add setting to disable rainbow-ify brackets without content
  • Show update notification after plugin updated
  • Add a lot of tests
  • Convert all java code to kotlin

  • And with much more features not documented in release notes.
  • NOTE: this version are build against with IU-2017.2.7, but verified by IC-2017.2

5.0-RC4

  • #10 #2 Add setting to disable rainbow-ify brackets without content
  • Show update notification after plugin updated
  • Add a lot of tests
  • Convert all java code to kotlin
  • NOTE: this version are build against with IU-2017.2.7, but verified by IC-2017.2

5.0-RC3

  • #32 Add version info in setting page
  • #31 Fix 'Enablement of round brackets enables all but angle brackets'

5.0-RC2

  • #30 Adjust color: remove red, purple from color palettes, add some material design color to color palettes.

5.0-RC1

  • Fix #27 Settings no longer works

5.0-RC0

  • This is the first RC release on 5.x series!
  • Thanks for https://github.com/YiiGuxing, which helps move this plugin from `Annotator` to `HighlightVisitor`!
  • Check more info at https://github.com/izhangzhihao/intellij-rainbow-brackets/pull/25
  • This RC release has really good compatibility with previous release(3.x series).
  • From 5.x series we didn't need specific implementations like java/scala/kotlin specific implementations in 3.x series any more!
  • And with much more features not documented in release notes.

3.1

  • Add specific implement for PHP language

3.0

  • Version 3.0 has been released, with all RC features & bug fix
  • Fix #23 Inconsistent colors
  • Fix #21 Wrong bracket colorization based on spaces
  • Fix #19 Kotlin expression inside string bug
  • Fix #12 Symbol less ">" is considered as a bracket even without leading "<"
  • Fix #11 Same level brackets should have same color
  • And much more!
  • Add specific implement for java/kotlin/scala/javascript
  • Add example to help people add specific implementation for specific language!
  • Check out README.md on github https://github.com/izhangzhihao/intellij-rainbow-brackets

3.0-RC5:

  • Adjust colors for default light theme. Thanks to https://github.com/YiiGuxing

3.0-RC4:

  • Add specific implement for java/kotlin/scala
  • So now in java/kotlin/scala same level brackets should have same color.
  • Fix: #19:Kotlin expression inside string bug

3.0-RC2:

  • Remove option for enable/disable rainbow for HTML/XML

3.0-RC1:

  • Add new setting page to control what/how to colorify:
  • 1. Add option to Enable/disable rainbow
  • 2. Add option to Enable rainbow for any unsupported languages
  • 3. Add option to Enable/disable rainbow for HTML/XML
  • 4. Add option to Enable/disable rainbow for round brackets
  • 5. Add option to Enable/disable rainbow for squiggly brackets
  • 6. Add option to Enable/disable rainbow for square brackets
  • 7. Add option to Enable/disable rainbow for angle brackets

2.6:

  • Add support for salesforce apex language, thanks for https://github.com/onisuly

2.5:

  • Fix Rust support, thanks for https://github.com/fst3a

2.4:

  • Add support for SQL

2.3:

  • Add support for HTML/XML

2.2:

  • Add support for C#

2.1:

  • New identifiable colors

2.0:

  • Rainbowify brackets more faster !

1.1:

  • Support IntelliJ IDEA based IDEs version 14 and above

1.0:

  • Initial release