fild->Invalidate Caches / Restart
- Open IntelliJ IDEA
- Select the File menu
- Select the Invalidate Caches / Restart... menu.
Once selected you get a pop-up with a bunch of options.
- Select Invalidate and Restart
and before doing that make sure you saved all your changes else it might delete some unsaved changes.