Hi all! What IDE do you use for CMP? Android Studi...
# multiplatform
h
Hi all! What IDE do you use for CMP? Android Studio and Intelij Idea do not show previews and fleet does not have compatible Sqldelight plugin
d
Previews are not supported well right now. Android and desktop target on fleet should work. https://blog.jetbrains.com/kotlin/2024/02/compose-multiplatform-1-6-0-release/#preview-annotation-for-fleet
🙏 1
h
What about using SQLDelight in fleet? Is there any solution to install SQLDelight plugin on fleet?
d
I'm not using fleet, so if the plugin doesn't exist there. Its either with the plugin or without previews. In my experience you can still develop very well without previews.
h
I should go without preview. Thank you for your suggestion.
c
We overcome this issue by adding our Previews under the android sourceset
h
There is no fleet sdk to create custom plugins yet.
👍 1
h
@Csaba Szugyiczki This solution works, thank you
👍 1
v
I'm using this workaround to use previews in commonMain from Android Studio. It's working well so far. https://tahaben.com.ly/2024/07/how-to-preview-your-ui-in-compose-multiplatform-android-studio-intellij/