Project and IDE Preferences
There are two types of settings that define your preferred environment:
Project settings, that apply to a specific project. In the Settings/Preferences dialog (Ctrl+Alt+S), they are marked with .
IDE settings, that are common for all projects and refer to the project-independent aspects.
Project settings are stored with each specific project as a set of .xml files under the .idea folder. If you specify the template project settings, these settings will be automatically used for each newly created project.
The settings that pertain to a project, are marked with the icon in the Settings/Preferences dialog.
IDE settings are stored in the dedicated directories under CLion home directory. The CLion directory name is composed of the product name and version.
<User home>\.\config that contains user-specific settings.
<User home>\.\system that stores CLion data caches.
<User home> in WindowsXP is C:\Documents and Settings\<Username>\; in Windows Vista it is C:\Users\<Username>\
/./config that contains user-specific settings.
~/./system that stores CLion data caches.
~/Library/Application Support/ contains the catalog with plugins.
~/Library/Preferences/ contains the rest of the configuration settings.
~/Library/Caches/ contains data caches, logs, local history, and so on. These files can be quite significant in size.
~/Library/Logs/ contains logs.
Locations of directories
The config directory has several subfolders that contain .xml files with your personal settings. You can easily share your preferred keymaps, color schemes, and so on by copying these files into the corresponding folders on another CLion installation. Prior to copying, make sure that CLion is not running, because it can erase the newly transferred files before shutting down.
The following is the list of some of the subfolders under the config folder, and the settings contained therein.
Contains code style schemes.
Contains editor colors and fonts customization schemes.
Contains user-defined file types.
Contains code inspection profiles.
Contains CLion keyboard shortcuts customizations.
Contains various options, for example, feature usage statistics and macros.
Contains user-defined live templates.
Contains configuration files for the user-defined external tools.
Contains shelved changes.
Locations of the config, system, and plugins directories can be modified in idea.properties file. For more information, see Configuring platform properties.