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

7 comments
Comment actions Permalink

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.

0
Comment actions Permalink

IntelliJ 8.x has a Invalidate Caches menu item, File->Invalidate Caches.

0
Comment actions Permalink

Ok, I now know what is this menu item useful for. :-)

Thanks,

Stéphane.

0
Comment actions Permalink

By the way, any idea why Intellij suddently corrupts its cache and why such a menu item is needed?

Stéphane.

0
Comment actions Permalink

szampelli wrote:

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

0
Comment actions Permalink

Unfortunately, I cannot reproduce the bug.
I just wondered if there was some bad manipulation on my side.

Stéphane.

0
Comment actions Permalink

FILE  >>>  POWER SAVE MODE

On power save mode, some functionalities do not work as expected. Keep in your mind. 

 

1

Please sign in to leave a comment.