IntelliJ does not recognize java symbols.
Hello,
IntelliJ Idea does not recognize java symbols anymore.
Exemple:
import java.util.List;
IntelliJ complains that 'Cannot resolve symbol 'List' '
However, the project compiles.
Project and modules (there are two modules) are all set up with a 1.6 JDK.
What is the problem?
Thank you,
Stéphane.
IntelliJ Idea 8.1.3 #9886
Please sign in to leave a comment.
I solved the problem by forcing intellij idea to recompute its indexes from scratch.
Since I do not know how to do it manually,
I killed intellij idea by hand,
in order to force it to recompute its indexes.
On restart, it did recompute its indexes,
and now symbol recognition is back.
Thanks,
Stéphane.
IntelliJ 8.x has a Invalidate Caches menu item, File->Invalidate Caches.
Ok, I now know what is this menu item useful for. :-)
Thanks,
Stéphane.
By the way, any idea why Intellij suddently corrupts its cache and why such a menu item is needed?
Stéphane.
i guess idea contains some bugs
but these bugs are very hard reproducible
e.g., could you reproduce it?
menu is needed just in case
Unfortunately, I cannot reproduce the bug.
I just wondered if there was some bad manipulation on my side.
Stéphane.
FILE >>> POWER SAVE MODE
On power save mode, some functionalities do not work as expected. Keep in your mind.