Syntax highlighting, and code completion fails whe...
# intellij
n
Syntax highlighting, and code completion fails when using Kotlin 1.3.61 in a Kotlin Native project, but works fine if Kotlin 1.3.70 is used instead. Using the Kotlin 1.3.70 IntelliJ plugin.
d
I got this too. I gave up and just upgraded.
n
Stuck between a rock and a hard place since I need to use the Ktor Client library (CURL version), which doesn't support Kotlin 1.3.70 and KotlinX Serialisation 0.20 yet 🙁.
Unfortunately IntelliJ doesn't have the option to downgrade the Kotlin plugin.
d
I tend to avoid upgrading (because this happens fairly often) but I got too excited about this release. Couldn't resist better compilation speeds.
n
This Kotlin plugin update has been rushed through.
j
You can downgrade by uninstalling the Kotlin plugin. After reboot the older version plugin is back that was included in the IDE release.
a
AFAIK for Kotlin Native it's pretty much required to have identical versions of Kotlin IDEA plugin and Gradle plugin. Otherwise you will get all sorts of ABI mismatches and stuff.
🙏 1