Rebuild IntelliJ project indexes

Paul McKenzie picture Paul McKenzie · Jul 11, 2011 · Viewed 47.2k times · Source

IntelliJ IDEA 10.5.1 is reporting zero usages for all method, classes etc.

Can I force IntelliJ to rebuild the project indexes?

Answer

Boris Pavlović picture Boris Pavlović · Jul 11, 2011

File -> Invalidate caches...

(Force rebuild of all caches and indices on next startup)

Restart IntelliJ IDEA.

Caution: This might Remove local history.