All Projects β†’ izhangzhihao β†’ Intellij Rainbow Brackets

izhangzhihao / Intellij Rainbow Brackets

Licence: apache-2.0
🌈Rainbow Brackets for IntelliJ based IDEs/Android Studio/HUAWEI DevEco Studio

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Intellij Rainbow Brackets

Idea Android Studio Plugin
Android Studio Plugin
Stars: ✭ 293 (-92%)
Mutual labels:  intellij, android-studio, intellij-plugin
eventbus-plugin
IntelliJ iDEA plugin to work with projects using greenrobot's EventBus library
Stars: ✭ 25 (-99.32%)
Mutual labels:  intellij, intellij-plugin, android-studio
Runconfigurationasaction
Provides a way to use IntelliJ run configurations as buttons
Stars: ✭ 17 (-99.54%)
Mutual labels:  intellij, android-studio, intellij-plugin
BugKotlinDocument
Plugin for IntelliJ IDEA β”—πŸ˜ƒβ”› Android Studio β”—πŸ˜ƒβ”› CLion β”—πŸ˜ƒβ”› AppCode.
Stars: ✭ 29 (-99.21%)
Mutual labels:  intellij, intellij-plugin, android-studio
SideMirror
An Android Studio plugin to mirror your android devices with scrcpy directly from Android Studio.
Stars: ✭ 49 (-98.66%)
Mutual labels:  intellij, intellij-plugin, android-studio
getx-snippets-intelliJ
An extension to accelerate the process of developing applications with flutter, aimed at everyone using the GetX package.
Stars: ✭ 52 (-98.58%)
Mutual labels:  intellij, intellij-plugin, android-studio
Pebble Intellij
Pebble support for IntelliJ IDEA
Stars: ✭ 68 (-98.14%)
Mutual labels:  intellij, android-studio, intellij-plugin
TranslationPlugin
Translation plugin for IntelliJ based IDEs/Android Studio/HUAWEI DevEco Studio.
Stars: ✭ 9,375 (+155.94%)
Mutual labels:  intellij, intellij-plugin, android-studio
interstellar
Dark editor theme for JetBrains IDEs
Stars: ✭ 26 (-99.29%)
Mutual labels:  intellij, intellij-plugin, android-studio
xmake-idea
🍨 A XMake integration in IntelliJ IDEA
Stars: ✭ 44 (-98.8%)
Mutual labels:  intellij, intellij-plugin
idea-php-advanced-autocomplete
Plugin for PhpStorm IDE. Adds auto-completion support for various built-in PHP functions, where parameter is a string literal.
Stars: ✭ 57 (-98.44%)
Mutual labels:  intellij, intellij-plugin
Intellij Plugin V4
An IntelliJ plugin for ANTLR v4
Stars: ✭ 318 (-91.32%)
Mutual labels:  intellij, intellij-plugin
GapStyle
The world-first* productivity-oriented color scheme for intelliJ and VSCode to fill the gap between programming languages and human.
Stars: ✭ 111 (-96.97%)
Mutual labels:  intellij, android-studio
MarioProgressBar
The Mario progress bar for IntelliJ IDEA and other JetBrains IDEs.
Stars: ✭ 29 (-99.21%)
Mutual labels:  intellij, intellij-plugin
idea-php-shopware-plugin
Shopware Plugin for PhpStorm which extends Symfony Plugin
Stars: ✭ 50 (-98.63%)
Mutual labels:  intellij, intellij-plugin
slides-presenter
Plugin to show slides and code examples directly from IntelliJ IDEs
Stars: ✭ 19 (-99.48%)
Mutual labels:  intellij, intellij-plugin
intellij-awk
The missing IntelliJ IDEA language support plugin for AWK
Stars: ✭ 18 (-99.51%)
Mutual labels:  intellij, intellij-plugin
Julia Intellij
πŸ’» Julia Plugin for IntelliJ IDEA β”—πŸ˜ƒβ”› β”πŸ˜ƒβ”“ β”—πŸ˜ƒβ”›
Stars: ✭ 258 (-92.96%)
Mutual labels:  intellij, intellij-plugin
intellij-javacc
JavaCC and JJTree grammar support for the IntelliJ Platform
Stars: ✭ 31 (-99.15%)
Mutual labels:  intellij, intellij-plugin
Svelte Intellij
Svelte components in WebStorm and friends
Stars: ✭ 345 (-90.58%)
Mutual labels:  intellij, intellij-plugin

Intellij rainbow brackets

🌈Rainbow Brackets for IntelliJ based IDEs/Android Studio/HUAWEI DevEco Studio.

Build Status


Compatibility

IntelliJ IDEA, PhpStorm, WebStorm, PyCharm, RubyMine, AppCode, CLion, Gogland, DataGrip, Rider, MPS, Android Studio, HUAWEI DevEco Studio, DataSpell

Supported languages

Java, Scala, Clojure, Kotlin, Python, Haskell, Agda, Rust, JavaScript, TypeScript, Erlang, Go, Groovy, Ruby, Elixir, ObjectiveC, PHP, HTML, XML, SQL, Apex language, C#, Dart, Pug/Jade, Bash, Vue.js, C# Razor Pages, GLSL(the OpenGL Shading Language), Go Template, C++, C...

Author's choice

Rainbow Brackets + One Dark Theme + Nyan Progress Bar + Fira Code (Font)

Sponsored By

This plugin is being sponsored by Tabnine and CodeStream.

AI Assistant for Developers & Teams. Boost your productivity with the power of Tabnine’s all-language code completion. Get Tabnine

https://codestream.com

Eliminate context switching and costly distractions. Create and merge PRs and perform code reviews from inside your IDE while using jump-to-definition, your keybindings, and other IDE favorites. Learn more!

Development powered by JetBrains.

https://www.jetbrains.com/?from=IntelliJRainbowBrackets

Whichever technologies you use, there's a JetBrains tool to match.

Install

Or you could install it inside your IDE:

For Windows & Linux - File > Settings > Plugins > Marketplace > Search for "Rainbow Brackets" > Install Plugin > Restart IntelliJ IDEA

For Mac - IntelliJ IDEA > Preferences > Plugins > Marketplace > Search for "Rainbow Brackets" > Install Plugin > Restart IntelliJ IDEA

Install snapshot build

You can download the latest snapshot build from here, just click the latest build and click the 'Artifacts' tab.(You need logged in via github) After the snapshot build downloaded, unzip it(via unzip UnZipMe.zip), and install the zip file(intellij-rainbow-brackets.zip) by Install Plugin from Disk....

Screenshots

  • Java

  • Scala

  • Clojure

  • Kotlin

  • HTML/XML

  • Scope highlighting

The highlight effects will not remove after release the shortcuts, but press ESC key can do this. You could also config Press any key to remove the highlighting effect in setting page.

Ctrl + Button3(Windows & Linux) or Meta+ Button3(Mac):

NOTE: Button3 means "Secondary Click (click or tap with two fingers)" on Mac os, "Right click" for Windows or Linux.

Alt + Button3:

NOTE: Button3 means "Secondary Click (click or tap with two fingers)" on Mac os, "Right click" for Windows or Linux.

  • Rainbow indent guide lines

  • looking forward to your screenshots(PR welcome!)

Customize colors

Settings/Preferences > Editor > Color Scheme > Rainbow Brackets:

Customize colors

Use color generator

If you didn't like the build-in colors, or want some new color but don't want to try out and pick colors. Please use color generator.

Settings/Preferences > Other Settings > Rainbow Brackets > Use color generator

If you turn on this option, we will auto generate some colors for you.

Advanced options of color generator

If you need more control, you can decide the options of color generator by edit the config file,

The value of the option customColorGeneratorOption is a json object, available options are:

hue – Controls the hue of the generated color. You can pass a string representing a color name: red, orange, yellow, green, blue, purple, pink and monochrome are currently supported. If you pass a hexidecimal color string such as #00FFFF, color generator will extract its hue value and use that to generate colors.

luminosity – Controls the luminosity of the generated color. You can specify a string containing bright, light or dark.

Please make sure the value of the option customColorGeneratorOption is escaped in xml format, you can use this tool to do this. Please don't forget to restart your IDE after change the config file.

<application>
  <component name="RainbowSettings">
    <option name="useColorGenerator" value="true" />
    <option name="customColorGeneratorOption" value="{&quot;luminosity&quot;: &quot;light&quot;,&quot;hue&quot;: &quot;blue&quot;}"/>
  </component>
</application>

Want to config the number of colors?

Settings/Preferences > Other Settings > Rainbow Brackets > Number of colors: 5 or more

And you can use the color generator and config you number of colors at the same time.

NOTE: For default and darcula color scheme(Editor -> Color Scheme -> Rainbow Brackets -> Scheme) the color number is 10, for the other scheme the number is 5, if your number is bigger than the number, you can config them in the config file. If the color is not exist, we will use color generator to generator it for you.

Please follow the official guide:

  • Export a color scheme as XML
  • Edit the xml file, put ROUND_BRACKETS_RAINBOW_COLOR5 to ROUND_BRACKETS_RAINBOW_COLOR100 to match your number just like the default color scheme.
  • Import a color scheme

Config file path

If you want to customize the advanced configuration, you could edit the config file then restart your IDE. Config file path in APP_CONFIG/rainbow_brackets.xml.

In MAC OS env maybe like ~/Library/Preferences/IntelliJIdea2020.2/options/rainbow_brackets.xml.

If you are using the ToolBox, then it will be like ~/Library/ApplicationSupport/JetBrains/IntelliJIdea2020.2/options/rainbow_brackets.xml

In Linux env maybe like ~/.IntelliJIdea/config/options/rainbow_brackets.xml.

In Windows env maybe like C:\Users\izhangzhihao\.IntelliJIdea2020.2\config\options\rainbow_brackets.xml.

HTML code in js

To enable rainbow brackets for HTML inside js code like this:

var html = '<div><div><div>Hello</div></div></div>';

This plugin will automatically override color scheme property "HTML_CODE" cause our rainbow color been covered by intellij built-in functionality. You still could set <option name="rainbowifyHTMLInsideJS" value="false" /> in config file to disable.

Kotlin function literal braces and arrow

To enable rainbow brackets for multiple level lambda Kotlin code like this:

event.throwable?.let { throwable ->
    IdeErrorsDialog.findPluginId(throwable)?.let { pluginId ->
        PluginManager.getPlugin(pluginId)?.let { ideaPluginDescriptor ->
            if (!ideaPluginDescriptor.isBundled) {
                bean.pluginName = ideaPluginDescriptor.name
                bean.pluginVersion = ideaPluginDescriptor.version
            }
        }
    }
}

This plugin will automatically override color scheme property "KOTLIN_FUNCTION_LITERAL_BRACES_AND_ARROW" cause our rainbow color is being covered by kotlin plugin built-in functionality. You still could set <option name="rainbowifyKotlinFunctionLiteralBracesAndArrow" value="false" /> in config file to disable.

Disable rainbow brackets for specific languages

Settings/Preferences > Other Settings > Rainbow Brackets > Do NOT rainbowify these languages (name or extension, comma separated):

NOTE: You can use name of language or extension of file name(The names should be lowercase).

Contribute

NOTE: To view the PSI tree and explore the internal PSI structure of source code, you need to set up your IDE by following this. For the Rider IDE, please follow: this

For small changes, Gitpod is recommended. Open in Gitpod

  • gradle test
  • gradle runIde
  • gradle buildPlugin

Support Us

You can support us by the following actions:

Open Collective AliPay WeChatPay
OpenCollective

Backers

Thank you to all our backers! ❀️ [Become a backer]

Sponsors

Support this project by becoming a sponsor! 🌈 Your logo will show up here with a link to your website. [Become a sponsor]

Acknowledgements

Intellij-rainbow-brackets is heavily inspired by Rainbow Brackets for Visual Studio Code

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].