Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kaustubhpatange/compose-color
A plugin for Intellij based IDEs to draw rectangle on the editor's gutter denoting the color represented by androidx.compose.ui.graphics.Color.
https://github.com/kaustubhpatange/compose-color
android android-studio-plugin intellij-plugin jetpack-compose kotlin
Last synced: 3 months ago
JSON representation
A plugin for Intellij based IDEs to draw rectangle on the editor's gutter denoting the color represented by androidx.compose.ui.graphics.Color.
- Host: GitHub
- URL: https://github.com/kaustubhpatange/compose-color
- Owner: KaustubhPatange
- License: apache-2.0
- Created: 2020-11-23T17:53:13.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-08T06:17:33.000Z (almost 2 years ago)
- Last Synced: 2024-04-18T03:11:05.613Z (10 months ago)
- Topics: android, android-studio-plugin, intellij-plugin, jetpack-compose, kotlin
- Language: Kotlin
- Homepage:
- Size: 444 KB
- Stars: 14
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Highlight Colors for Compose
![Build](https://github.com/KaustubhPatange/compose-color-plugin/workflows/Build/badge.svg)
[![Version](https://img.shields.io/jetbrains/plugin/v/com.github.kaustubhpatange.composecolor.svg)](https://plugins.jetbrains.com/plugin/15439-highlight-colors-for-compose)**Android Studio Arctic Fox Canary 7 has this functionality built-in!**
A plugin for **Intellij** based IDEs to draw rectangle on the editor's gutter denoting the color represented by `androidx.compose.ui.graphics.Color`
Clicking on the color icon from the gutter will open a color picker dialog to modify the color.
Only the properties satisfying the following pattern will be highlighted:
```kotlin
$modifier $name = Color($int)
``````diff
- Color(0XFF000000) // Not supported
+ val black = Color(0XFF000000)
```<>
<>
## Installation
- Using IDE built-in plugin system:
Preferences > Plugins > Marketplace > Search for "Highlight Colors for Compose" >
Install Plugin- Manually:
Download the [latest release](https://github.com/KaustubhPatange/compose-color/releases/latest) and install it manually using
Preferences > Plugins > ⚙️ > Install plugin from disk...## License
- [The Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0.txt)
```
Copyright 2020 Kaustubh PatangeLicensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttps://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```