Miha-x64 / Mikes_IDEA_extensions

IntelliJ IDEA: missing parts.
Apache License 2.0
34 stars 7 forks source link

Request: Compose colors #59

Closed mtrakal closed 6 months ago

mtrakal commented 6 months ago

I love your plugin, now I miss just color picker / color rectangle for compose variant of colors:

package presentation.ui.theme

import androidx.compose.ui.graphics.Color

val Purple80 = Color(0xFFD0BCFF)
val PurpleGrey80 = Color(0xFFCCC2DC)
val Pink80 = Color(0xFFEFB8C8)

val Purple40 = Color(0xFF6650a4)
val PurpleGrey40 = Color(0xFF625b71)
val Pink40 = Color(0xFF7D5260)

It would be nice, if plugin support this hex format of color :). Hope, that's not some Koala bug (didn't try same code on Iguana / Jelly Fish version)

Android Studio Koala | 2024.1.1 Canary 3 Build #AI-241.14494.158.2411.11648550, built on March 29, 2024 Runtime version: 17.0.10+0--11609105 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 11.0 GC: G1 Young Generation, G1 Old Generation Memory: 12288M Cores: 32

mtrakal commented 6 months ago

Edit: it's working on Jelly Fish 🙈. So it's some bug in Koala or plugin need to suport new version?

image

Miha-x64 commented 6 months ago

There are constant changes both in IntelliJ and Android plugin APIs. Please check out IDE for plugin crashes and share the stack trace.

mtrakal commented 6 months ago

Hmm, I don't know what's happen, but today after restart Android studio it's working on Koala without any changes 🙈.

Closing for now, when it happen again and show stacktrace, I'll reopen it.