Is it normal for Intelli J to take a lot of time (almost 12 hours) to update indices for a project? I just installed Intelli J on my machine and imported a rather large Mave
the easier way is as follow: file --> settings --> (uncheck) Synchronize files on frame or editor tab activation.
In Intellij 2020.2
I faced this problem too. Restart/Invalidating cache didn't work for me. What I did was just deleting the cache folder in the following path:
C:\Users\davoud\AppData\Local\JetBrains\IntelliJIdea2020.2
you can manually exclude file or directory withIDEA Indexing, it can improve file load speed. some files are generated dynamic, we don't need index these files every time when we start IDEA.
Though the accepted and other answers may fix a particular problem, I have found that the problem with very long indexing times often comes from the fact that a repository contains or links to some directory that contains a large number of files. Often this is done for testing and the directory in question is not actually part of the project, e.g. ignored by the VCS.
The IDE does not automatically ignore those directories when indexing, but it is possible to "exclude" the directory from the project. This will prevent indexing as well.
probably - old bug in caching system. it happens in ALL versions, especially if you upgrade your version of IntelliJ or JDK. To fix it: 1) close the GUI. 2) go to %HOME_DIR%.IntelliJIdeaXXXX\system\caches and delete it 3) start the the GUI again.
There are several answers in the Forums for different IntelliJ Versions, here is what I´ve tried (IntelliJ 13).
In the end what resolved my problem with 'Updating indices' was: