PHPStorm not indexing include paths set in project

phpstorm

Solution

Note: this solution will delete the cache, including local history, for all projects. The indexes will be rebuilt next time you open a project but the local history is gone forever. With that said...

Try selecting File > Invalidate Caches / Restart... from the menu then Invalidate and Restart.

Problem

After I give an include path to my new project, PHPStorm doesn't index that directory. I added the PHPUnit directory, but have no autocompletion for its classes.

Original source