:tada: The new KMP plugin is now available for Int...
# announcements
a
🎉 The new KMP plugin is now available for IntelliJ IDEA and Android Studio, making KMP development smoother and smarter. Key highlights include: Integrated New Project wizard 🔍 Preflight checks 🔧 Run configurations for all platforms 🧭 Cross-language support 🎨 Compose Multiplatform support 🔥 Compose Hot Reload Discover more in our latest blog post: https://kotl.in/f4tw6d Try the KMP plugin for yourself: https://plugins.jetbrains.com/plugin/14936-kotlin-multiplatform Please share your thoughts and questions here or in the dedicated #C3PQML5NU channel.
K 71
🙌🏿 1
🙌🏻 5
❤️ 16
🙌🏾 2
🙌🏼 3
👍 5
swift 38
👍🏾 1
🔥 3
🙌 64
n
Any idea if/when Linux will be supported?
🤔 2
😱 5
z
It's mentioned around the end of the blog post:
Upcoming tooling improvements include:
Windows and Linux support
You’ll be able to use the KMP plugin on Windows and Linux. Running iOS applications will remain macOS-specific.
No specific timeline yet.
m
Is it available on IntelliJ IDEA Community?
z
Yes, it's available in Community Edition too. Notably, the native debugger is coming later there (Ultimate already had support for it).
❤️ 2
m
The plugin is breaking the latest Android Studio Canary release So I have to either downgrade android studio or disable the plugin 😄
z
Yes, Feature Drop Canary is indeed giving us some issues. We're working on it! Please use Narwhal Canary for now
👍 1
j
A bit sad to make a big announcement and then not support major platforms like Windows
f
Where is the Debug iOS App button? still disabled even the experimental feature is enable
z
@Joost Klitsie Lots of the plugin's features are only possible on macOS to begin with (things like running and debugging on iOS), but we are planning to bring what we can to other operating systems too, in later releases. In the meantime, on non-macOS machines, you already get a very capable setup in IntelliJ IDEA or Android Studio for KMP development with this set of plugins providing various features: • AndroidAndroid Design ToolsJetpack ComposeCompose Multiplatform for Desktop IDE SupportNative Debugging Support
👍 1
@François It should be there like this
f
@zsmb Yes, I know, but it’s not enabled 😞
z
Are Preflight checks all green? Is it a project you can share by any chance? Would be worth opening a ticket https://youtrack.jetbrains.com/newIssue?project=KMT
f
I should try with a new project. On the previous version (and current project); the debugger works.
@zsmb even on a new project (Compose&SwiftUI) made by the new plugin, the button is not enabled
Copy code
Build #IC-251.25410.129, built on May 9, 2025
Runtime version: 21.0.6+9-b895.109 aarch64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Kotlin plugin: K2 mode
m
btw, is there a standalone slack channel for the plugin or #C3PQML5NU is enough? 😄
z
That channel is perfect for discussing the IDE plugin
🙌 1
m
@zsmb Is it true that you can write Swift in Android Studio? Do I not need Xcode?
z
You'll still need Xcode for certain tasks like editing project configuration for iOS, but yes there's support for editing Swift files as well as working cross-language with Swift and Kotlin.
kodee happy 1
swift 1
c
What about non macOS users? I understand that ( some) iOS features would have to be dropped, but I wanna be able to build the rest.
j
@zsmb I am not saying the support is bad, but having previews from common code would be really great :) I'll try out the hot reload, but it would be nice to have all the features for my web/desktop/android combo, no need for iOs
z
To answer the last two questions about non-macOS: You can generally write and build apps for all platforms even without help from IDE tooling. The plugin mostly makes things a lot easier by integrating features directly in the IDE (like the wizard, run configs, device selectors, etc). For the Android and Desktop cases, the existing plugins listed above provide great support already. I think the only things that won't be there without this plugin for that case are some convenient ways to run the desktop app (with/without Compose Hot Reload), but you can always just run the Gradle tasks. Common previews should also work, I believe these are provided by the Android Design Tools plugin for IntelliJ IDEA.
p
is there an eta for windows or linux support? bad dev xperience tbh
z
@Pau Marzo No specific ETA yet. Could you share what features you're missing the most on those platforms at the moment?
👀 1
p
hot reload integration in the ide out of the box, creation of kmp modules (having to copy and clean deps is annoying). and i know this is not allowed yet (cause android deps) but previews in common code (not the desktop ones, the android ones) without having android source set should be worked on
r
Maybe stupid question but I thought I read this plugin supports composable preview visualization on intellij, am I wrong?
d
@Roberto Fernandez Montero In my experience the preview only work in Android Studio right now. Android Studio is pretty darn nice to use though so thats too bad while we wait for IJ to get the previews working.
👍 1
r
I will try asap.
z
Previews also work in IntelliJ IDEA. If they're not working for you there, could you check them in a fresh project (from the wizard) and see if that works? If you can share a project / version info of IDEA where it doesn't work for you (in a YouTrack issue) that'd also be great for us to look at.
r
👍
Just tried with the wizard, using commonMain with a project just supporting web + desktop and it is not still working. WIll create a YouTrack.
z
Just a quick sanity check: do you have the Kotlin Multiplatform plugin installed in IDEA?
r
Yes, last version of the plugin running in a IntelliJ IDEA 2025.1.2 (Ultimate Edition) Build #IU-251.26094.121, built on June 3, 2025 and K2.
🤔 1
And this is what I see, nothing regarding preview (Unless it's being hide somwhere)
z
That definitely sounds like it should work. YouTrack issue it is then to investigate, this way: https://youtrack.jetbrains.com/newIssue?project=KMT Maybe there's something in the logs or the full version info of the environment
I have this with supposedly all the same versions - but someone will investigate the ticket
r
I'm thinking that maybe does not work when there is not android target in KMP project..?
z
Oh, yes, that's indeed a requirement, as this runs using the Android preview system.
today i learned 1
r
Now makes sense..
Let me add the android target
All right, now it works. So even if I'm not targeting android I must add it if I want to have preview, right?
d
I'll try my new sandbox project with the Android target and report back too.
The preview is working for me in IntelliJ Community with the Android target. Kinda sad I need the Android target though.
r
Yes, the same. Also previews are not helpfull as they look like an android, cannot preview anything than medium phone
r
@zsmb, is the non-macOS support timeframe still unknown?
plus1 1
z
Unknown yes, but it's the highest priority work for the team, we'll get it out as soon as we can
❤️ 1