I have a few Kotlin classes that cannot be found (...
# intellij
s
I have a few Kotlin classes that cannot be found (ie. all usages red and not findable with CTRL + N either). I assume it has an incremental cache or something somewhere to keep this editor information ready since I can fix it for a single file by renaming the file (outside of IDEA) and compiling but gradle clean, idea rebuild project does nothing to fix it. Is there a button that clean everything related to the open project (and not some global action like "Invalidate Caches")
a
In IDEA 2021.3 EAP there is a new action "File | Cache recovery | Run guided cache recovery" that should greatly simplify the process of fixing such problems.
s
Thanks. Will try it out next time