I've run into trouble that makes me suspect there is a bad index file that needs to be cleared. The symptoms are:
Before suspecting a bad index I reinstalled IntelliJ 8.1.3, then I removed and re-checked out the source code. It didn't help. Only after checking out the code into a different folder did IntelliJ start working correctly again, but only for the new project folder. The old project folder is still infected.
So where is that index and how do I clear it?
To force reindex a project, use Invalidate caches. Indexing in IntelliJ IDEA is responsible for the core features of the IDE: code completion, inspections, finding usages, navigation, syntax highlighting, and refactorings.
To clean up the local working copy, do one of the following: Select the desired file or directory in the Project tool window and choose Subversion | Cleanup from the context menu of the selection. Open the desired file in the editor and choose VCS | Subversion | Cleanup from the main menu.
File | Invalidate Caches, restart. Or manually delete the following folders:
Linux/Windows:
XX
/systemMac:
XX
(where XX
is your IDEA version).
See the FAQ for more details and folder locations of the other IntelliJ IDEA platform based products.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With