Anyone else having trouble after upgrading to Inte...
# multiplatform
j
Anyone else having trouble after upgrading to IntelliJ Community 2023.1.4? The IDE takes several minutes to start up, and then it won't recognize any imports from sibling Gradle (multiplatform) projects. And it really is an IntelliJ problem, running with just Gradle works fine (even from IntelliJ's own terminal)
It really is Kotlin Multiplatform only. Other Kotlin projects work fine, but the problem occurs both with Jetsnack and my own Multiplatform project
Gradle clean, clearing IntelliJ caches and even reinstalling all don't help
c
Yes, I've been seeing something similar for a few months now, I just posed about it here: https://kotlinlang.slack.com/archives/C01F2HV7868/p1689710505145269 I've also tried clearing out IDEA's caches and its system directory without success. So far I've only seen it with compose-html and compose-web modules that depend on a common module, not with other targets. It's very frustrating.
i
I'm on latest without issue using compose html. Might be OS related? I'm on Linux.
c
Windows 11 here, though hard to imagine why that might come into play. Maybe IDEA doesn't resolve a path correctly or something? If I recall correctly this happened to me somewhat spontaneously a couple of months ago (rather than a result of upgrading IDEA versions or setting changes, though I would have been running a 2023.2 EAP version at the time) and has been like it ever since. I remember trying to restart IDEA and clear caches etc, thinking it would sort itself out, but it didn't. I think I even tried deleting my entire IDEA system directory without success, so I'm not sure what else it might be.
j
Windows 10 for me
s
This issue is indeed OS related: https://youtrack.jetbrains.com/issue/KTIJ-26248 We are adding Windows CI agents to our multiplatform tests;
c
Ah, thank you!
s
Intellij 2023.2 will be the first release that will have the fix; Note, RC will likely not contain the fix yet
👍 1
We released RC and I was informed that the fix is included. Please try and provide feedback!
c
Amazing - thank you, it works! I did have to get IDEA to reload Gradle Projects to get IDEA to resolve the dependencies, but apart from that all looks great. This makes my life a lot easier 😄
j
I'd love to confirm that, but the 2023.2 RC won't even start for me. No splash screen, nothing
c
Maybe check there's not a hung IDEA process already running, and have a look in IDEA's log file to see what's going wrong?
j
Wait, scratch that. 5 minutes later, it actually popped up out of nowhere