CompleteKotlin
CompleteKotlin copied to clipboard
Cant resolve kotlin.native.concurrent.* on linux for macos platform
I am not sure this is something its supposed to be supported by CompleteKotlin, but I'll file anyway:
I'm on LinuxX64, I've setup your plugin on my KMP project, now I see that the implementation in iosX64 can resolved the kotlin.native.concurrent.*
imports, but not the same imports in macosX64.
(PS: thanks for this awesome plugin)
Hello @carlonzo, I don't think it's related to CompleteKotlin itself, but most likely to some tooling issues that might depend on the versions of Kotlin, the IDE, the Kotlin IDE plugin, and how the project is set up.
Anyway, can you specify all of the please:
- Which IDE, and which version you're using it on
- Which Kotlin version the project is using
- Which Kotlin IDE plugin is installed in the IDE
- Whether you have any HMPP (Hierarchical Multiplatform Projects) properties in gradle.properties
- If you have access to macOS, whether the issue reproduces with the same revision of the project, and same IDE and Kotlin IDE plugin versions.
Thank you, and glad you're benefitting from the plugin.
I think this might be another symptom of #2 (where native stdlib might be not wired up correctly in this case). I will post an update here once I am working on #2 ☺️ 👍
@sellmair Note that stdlib and lack of multiplatform features (like no expect
/actual
availability) are quite common (pun intended, I think it actually always happen) when there's only one target.
Should we open an issue about that on YouTrack?
sorry @LouisCAD should have come back earlier to you. I cant explain how ios is resolved when mac is not :/
regarding your questions:
- AS Bumblebee Canary 1
- Kotlin 1.5.10 (also tried with 1.5.20-M1)
- IDE Plugin 1.5.20-M1
- no HMPP
- on macOS everything works fine. methods are resolved correctly in IDE (same IDE and plugin) for macos and ios implementations
Hello @carlonzo, do you still have the issue with version 1.1.0 of the plugin?
Hi @LouisCAD thanks for the message. I've just updated, and yes problem persist.
from last time you asked, some of the answers to the above questions changed:
- IntelliJ IDEA 2021.3.1
- Kotlin 1.6.10
- Kotlin plugin: 213-1.6.10-release-923-IJ5744.223
- project has HMPP
here is a screenshot of what I currently see. happy to help if you need anything
Can you try after moving the setup from settings.gradle[.kts]
to build.gradle[.kts]
?
already done when I upgraded :/