anybody else experiencing index corruption / index...
# announcements
p
anybody else experiencing index corruption / index issues with kotlin in intellij idea currently? not a single day without purging and recreating the cache šŸ˜ž
l
My IDE is acting weird these days. Every time I open a project, it says kotlin is not configured and the dependencies are not there. I need to run gradle clear, and build the project again. Then everything works.
Also, I need to run gradle clear so the changes to the code be recompiled.
Does this relates to your problem?
p
maybe … I really don’t know 🤨
I just experience a general lack of stability probably related to the large refactoring of the compiler backend
c
for me both 2020.3 and 2021.1 are very buggy. and i have to do clean rebuilds and clear caches multiple times a day
if possible try to file a youtrack issue
sometimes the idea log has exceptions that the exception reporter does not show
p
hard to file a complaint when the reason is very diffuse
a
Please try IDEA 2020.3 with Kotlin plugin 1.4.31 after manual caches directory purge. We recently fixed a major indexing bug: https://youtrack.jetbrains.com/issue/KT-39776. If the issue is still actual, please report a bug to YouTrack with IDEA logs, sample project if possible.
c
@Luigi Scarminio in my case, just running ā€œreload all Gradle projectsā€ is enough to fix it when it happens šŸ¤” It also only happens with multiplatform projects
t
Please try IDEA 2020.3 with Kotlin plugin 1.4.31
Since Kotlin plugin 1.4.30 bulk formatting has’t worked (blocker in my cases)
443 Views