Project and IDE Settings
In this topic:
There are two types of settings that define your preferred environment:
- Project Settings, that apply to a specific project. They are marked with in the Settings/Preferences dialog.
- 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 default 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 PyCharm home directory. The PyCharm directory name is composed of the product name and version.
<User home>\.PyCharmXX\configthat contains user-specific settings.
<User home>\.PyCharmXX\systemthat stores PyCharm data caches.
<User home>in WindowsXP is
C:\Documents and Settings\<User name>\; in Windows Vista it is
~/Library/Application Support/PyCharmXXcontains the catalog with plugins.
~/Library/Preferences/PyCharmXXcontains the rest of the configuration settings.
~/Library/Caches/PyCharmXXcontains data caches, logs, local history, etc. These files can be quite significant in size.
Locations of directories
config directory has several subfolders that contain xml files with your personal settings. You can easily share your preferred keymaps, color schemes, etc. by copying these files into the corresponding folders on another PyCharm installation. Prior to copying, make sure that PyCharm 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.
|Folder name||User Settings|
|Contains code style schemes.|
|Contains editor colors and fonts customization schemes.|
|Contains user-defined file types.|
|Contains code inspection profiles.|
|Contains PyCharm 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
plugins directories can be modified in
PyCharm makes it possible to change
idea.properties files without editing them in the PyCharm installation folder.
To create an empty
idea.properties file or to copy
*.vmoptions file, choose the or on the main menu respectively. Refer to the menu items description for details.
To learn how to change the
idea.properties file, read the section File 'idea.properties'.