All Projects β†’ galex β†’ Name That Color Intellij Plugin

galex / Name That Color Intellij Plugin

This plugin lets you insert a name for a color you copy-paste or type in an android resource file.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Name That Color Intellij Plugin

eventbus-plugin
IntelliJ iDEA plugin to work with projects using greenrobot's EventBus library
Stars: ✭ 25 (-84.08%)
Mutual labels:  intellij-plugin, android-studio
Intellij Rainbow Brackets
🌈Rainbow Brackets for IntelliJ based IDEs/Android Studio/HUAWEI DevEco Studio
Stars: ✭ 3,663 (+2233.12%)
Mutual labels:  android-studio, 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 (-63.69%)
Mutual labels:  autocomplete, intellij-plugin
niddler
No description or website provided.
Stars: ✭ 48 (-69.43%)
Mutual labels:  intellij-plugin, android-studio
Pebble Intellij
Pebble support for IntelliJ IDEA
Stars: ✭ 68 (-56.69%)
Mutual labels:  android-studio, intellij-plugin
SpockAdb
Spock Adb Plugin Helps you to have full control of your project
Stars: ✭ 102 (-35.03%)
Mutual labels:  intellij-plugin, android-studio
Idea Android Studio Plugin
Android Studio Plugin
Stars: ✭ 293 (+86.62%)
Mutual labels:  android-studio, intellij-plugin
getx-snippets-intelliJ
An extension to accelerate the process of developing applications with flutter, aimed at everyone using the GetX package.
Stars: ✭ 52 (-66.88%)
Mutual labels:  intellij-plugin, android-studio
Runconfigurationasaction
Provides a way to use IntelliJ run configurations as buttons
Stars: ✭ 17 (-89.17%)
Mutual labels:  android-studio, intellij-plugin
Idea Php Symfony2 Plugin
IntelliJ IDEA / PhpStorm Symfony Plugin
Stars: ✭ 797 (+407.64%)
Mutual labels:  intellij-plugin, autocomplete
interstellar
Dark editor theme for JetBrains IDEs
Stars: ✭ 26 (-83.44%)
Mutual labels:  intellij-plugin, android-studio
Cameraxdemo
A sample camera app with CameraX API from Android Jetpack
Stars: ✭ 112 (-28.66%)
Mutual labels:  android-studio, demo
TranslationPlugin
Translation plugin for IntelliJ based IDEs/Android Studio/HUAWEI DevEco Studio.
Stars: ✭ 9,375 (+5871.34%)
Mutual labels:  intellij-plugin, android-studio
figma-import-plugin
A plugin for Android Studio to import figma resources
Stars: ✭ 24 (-84.71%)
Mutual labels:  intellij-plugin, android-studio
SideMirror
An Android Studio plugin to mirror your android devices with scrcpy directly from Android Studio.
Stars: ✭ 49 (-68.79%)
Mutual labels:  intellij-plugin, android-studio
Protein
πŸ’Š Protein is an IntelliJ Plugin to generate Kotlin code for Retrofit 2 and RxJava 2 based on a Swagger definition
Stars: ✭ 273 (+73.89%)
Mutual labels:  android-studio, intellij-plugin
Fcm Push Plugin
IntelliJ IDEA plugin to send pushes using Firebase Cloud Messaging (FCM)
Stars: ✭ 177 (+12.74%)
Mutual labels:  android-studio, intellij-plugin
BugKotlinDocument
Plugin for IntelliJ IDEA β”—πŸ˜ƒβ”› Android Studio β”—πŸ˜ƒβ”› CLion β”—πŸ˜ƒβ”› AppCode.
Stars: ✭ 29 (-81.53%)
Mutual labels:  intellij-plugin, android-studio
Android Yolo
Real-time object detection on Android using the YOLO network with TensorFlow
Stars: ✭ 604 (+284.71%)
Mutual labels:  android-studio, demo
Android Databinding
this is the databinding framework of android . help to binding data to the view.
Stars: ✭ 93 (-40.76%)
Mutual labels:  android-studio, demo

Name That Color - Android Studio Plugin

Introduction

When I get a new color to set in my Android app, I never know how to call it.

I used the website Name That Color for years, and I wanted to have it integrated inside Android Studio, so I ported its JS library to Kotlin and built this IntelliJ plugin around it.

Besides its long list of colors, users requested to add the material colors names, so we can now name our colors as material colors as well.

This plugin lets you insert a name for a color you copy-paste or type in an android resource file.

Usage

Two options are available: Clipboard and Quick Fix.

Clipboard

When you copy your color to add it in your app, you can use CONTROL+SPACE instead of pasting it to insert directly the right <color> tag.

after entering CONTROL+SPACE

Quick Fix

You can insert "aaa" and an error warning in the form of a Quick Fix will show up so you can replace "aaa" with its own <color name="silver_chalice">#aaa</color> tag by using ALT+ENTER.

after entering ALT+ENTER

Color Input

The Plugin accepts all formats of colors allowed in Android (lowercase or uppercase), and you don't need to prefix your color with "#":

  • Color
    • abc -> #abc
    • #abc -> #abc
    • aBc -> #aBc
    • ab12dc -> #ab12dc
    • #ab12dc -> #ab12dc
  • Alpha + Color
    • 6abc -> #6abc
    • #6abc -> #6abc
    • 60ab12dc -> #60ab12dc
    • #60ab12dc -> #60ab12dc

Names

Name that color

If you chose to use "Name that color", this list of colors is used. If the exact color is not found, the algorithm will find the closest match, if possible.

Examples
  • Color
    • abc -> <color name="casper">#abc</color>
    • ab12dc -> <color name="electric_violet">#ab12dc</color>
  • Alpha + Color
    • 6abc -> <color name="casper_alpha_40">#6abc</color>
    • 60ab12dc -> <color name="electric_violet_alpha_38">#60ab12dc</color>
  • Alpha(%) + Color
    • 40%abc -> <color name="casper_alpha_40">#66AABBCC</color>
    • 38%ab12dc -> <color name="electric_violet_alpha_38">#61AB12DC</color>

Name that material color

If you chose to use "Name that material color", this list of material colors is used. If the exact color is not found, the algorithm will find the closest match, if possible.

Examples
  • Color
    • abc -> <color name="blue_grey_200">#abc</color>
    • ab12dc -> <color name="purple_a700">#ab12dc</color>
  • Alpha + Color
    • 6abc -> <color name="blue_grey_200_alpha_40">#6abc</color>
    • 60ab12dc -> <color name="purple_a700_alpha_38">#60ab12dc</color>
  • Alpha(%) + Color
    • 40%abc -> <color name="blue_grey_200_alpha_40">#66AABBCC</color>
    • 38%ab12dc -> <color name="purple_a700_alpha_38">#61AB12DC</color>

Install

In Android Studio, open Settings > Plugins > Browse Plugins and type "name that color".

Thanks

I'd like to thank aednlaxer for submitting bugs and ideas!

License

This plugin is released under the: Creative Commons License: Attribution 2.5 http://creativecommons.org/licenses/by/2.5/

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].