Hi guys, I have an idea for a common code compose preview plugin for Intellij.
here is how it will work
• when user opens a Foo composable, a plugin will offer to create a preview definition in Android source set or user will need to press some button
• then this plugin does a vertical split with Design view selected
• profit
This is how it will look, can also be done by hand but it requires lots of clicks.
Giorgi
10/15/2024, 6:47 PM
maybe you guys can do it... im lazy :D
f
ferdialif02
10/19/2024, 4:48 AM
I think what we can do for now is rebuild the app for every keystroke ? so that it will do just like live edit
g
Giorgi
10/19/2024, 5:29 AM
yep, one exception would be syntax error
f
ferdialif02
10/19/2024, 5:40 AM
i already tried adding --continuous on my gradle, it compiles fine but the android preview just stuck at loading, and when i stop the task it displays the changes