https://kotlinlang.org logo
Title
f

Frank

07/12/2021, 7:49 AM
So is there a way to get some kind of preview of the UI without restarting it all the time?
:thread-please: 3
a

Alexander Kurasov[JB]

07/12/2021, 7:53 AM
There should be a preview icon, left to a Composable function without parameters with Preview annotation. If you left-click on it, there will be a Preview generated in Desktop Preview window (right panel)
And you need Compose Multiplatform IDE support plugin for IDEA
f

Frank

07/12/2021, 8:35 AM
I’ve installed the plugin but I cannot use the @Preview-Annotation nor do I see the preview icon:
c

Colton Idle

07/12/2021, 2:23 PM
Maybe you had the same issue as me: https://github.com/JetBrains/compose-jb/issues/846
f

Frank

07/12/2021, 2:26 PM
@Colton Idle Hi! Thanks for your reply. Yes - this was my issue.