Session
Speeding up @Composables Preview generation - an plugin story
In this talk, I will share my journey of developing a plugin for Android Studio that simplifies the process of generating @Preview-annotated functions for @Composable components in Jetpack Compose. The plugin, "Compose Preview Generator", allows developers to instantly generate preview methods with a single click, speeding up UI development compared to manual creation. At the time of writing, it even outperforms Google's Gemini-powered solution integrated into Android Studio in terms of both speed and correctness of the generated code.
I'll walk through the entire development process, from the initial idea to building an IntelliJ plugin, and discuss the challenges I faced along the way—such as dealing with the IntelliJ's SDK and getting the right dependencies for Android Studio. Additionally, I'll give an overview about how the IntelliJ Marketplace works and what submitting a plugin looks like, and how to implement paid features.
You can check the plugin at: https://plugins.jetbrains.com/plugin/25716-compose-preview-generator
Alessandro Mautone
Tech Lead | Lead Android Engineer @Canyon
Amsterdam, The Netherlands
Links
Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.
Jump to top