My android studio live template (`comp` `prev`, et...
# multiplatform
j
My android studio live template (
comp
prev
, etc) are working fine with android project but not with compose multiplatform ones. Does anyone experience such issue before?
c
I guess you need to change the “Applicable for …” setting to include basic “Kotlin”
j
it's already selected on my side, but the thing is i can do the live template in other working window but not the CMP one : (
also tried the invalidate caches, delete the
.idea
file as well
m
What does it mean you can do it in other working window? The workaround Christian provided should work in this case. In case you'd like to subscribe for future updates, I recommmend following https://issuetracker.google.com/issues/413061401 If there's more information you can provide, we'd be happy you'd do so 😊
j
I have other 3 android compose project window running, and all the live templates are working fine in all of them, only the CMP one is not working at all. : (
m
so the other projects are Android-only?
j
yes !
not sure if any similar incidents has been reported as well, i'll try to restart the app, clean caches again just in case
m
You can workaround this by applying the Kotlin context to the compose live templates
☝🏻 1
👈 1
👍 1