Yup, I’ve got
a plugin published with it (using Compose in a tool window), though it’s still very early and has a few caveats:
• You’ll probably want to use the
experiemental shared base so that your plugin runs on all supported OSs
• The shared base version is currently at 0.1.0, which is compiled with compose JB version 1.1.0 and does not work with 1.1.1
• You’ll need Kotlin 1.6.10 for Compose. Some libraries, like Ktor 2.0.0, require 1.6.20 or later, so you may need to use older versions of Kotlin libraries that were compiled on 1.6.10
• Compose uses a newer version of Coroutines than what is bundled with IntelliJ, so you’ll need to set the plugin classloader to
use your declared dependencies first
Here’s the
source code for how I’ve got everything set up, which may be useful for you. Hopefully my struggling through this dependency hell saves you a few hours of the same 😅