man im getting so tired of IntelliJ forgetting how my KMP project works. Red lines everywhere, and t...
a
man im getting so tired of IntelliJ forgetting how my KMP project works. Red lines everywhere, and then i have to struggle with it for some indeterminate amount of time to get it to recognize and understand the project again. And its never as simple as just invalidate cache and restart.
๐Ÿค 2
i
I too look forward to more stability.
a
I feel like my IntelliJ install is a sick man on his death bed. I just closed it, went away, then reopened it, and now it says jlink.exe doesn't exist when I try to compile ๐Ÿ˜ญ
d
๐Ÿ˜ฎ 2
I also added a swift file type with bunch of keywords in Android Studio.
j
You can also try the Repair IDE function, I've found that it's usually a lot faster at fixing this sort of issues
s
Not every release works well, indeed. I often use older versions for longer time if I found one thatโ€™s stable. The red lines are annoying, but at least the IDE is stable. If I switch to Xcode it always reminds me how good IntelliJ actually is - even with the bugs. Overall I found Eclipse to be the most reliable IDE and preferred that for Java development in the past years. But Kotlin support is unsurprisingly best in IntelliJ. ๐Ÿ˜„
๐Ÿ‘ 2
d
Sorry, I answered the wrong question ๐Ÿ™‚
s
As a example the current IntelliJ IDEA v2023.2 CE has the problem shown in the screenshot. Of course everything works fine, it's just a wrong marker - again.
Sometimes "Repair IDE" can fix that (like in this case), but more often than not only a downgrade helps. It is what it is. At least it does not crash. ๐Ÿ™‚
m
Some of these problems are supposed to be fixed by Kotlin 1.9.20. See, e.g.: https://kotlinlang.slack.com/archives/C01D6HTPATV/p1691752182576499
๐Ÿ‘ 1