Right-click on the root project folder in the file list (see image). Select "Repair IDE on File". On pop-up, choose "more" and then "Rescan project indexes". Done.