CLion
 
Get CLion
You are viewing the documentation for an earlier version of CLion.

Invalidate caches

Last modified: 05 October 2021

When you invalidate the cache, CLion removes the cache files for all projects ever run in the current version of the IDE. The files will be recreated the next time you open these projects.

Note the following before you proceed:

  • The caches will not be deleted until you restart CLion.

  • Opening and closing a project without invalidating the cache does not result in deleting any cached files.

  • Local History is not deleted when you invalidate the cache unless you explicitly enable this option in the Invalidate Caches dialog. However, mind that Local History has a retention period of 5 working days by default.

For details on where various user-specific files are stored, see Directories used by the IDE.