Managing Projects under Version Control
This section contains information related to sharing PyCharm project files with the other developers:
- Directory based project format
- Sharing run/debug configurations
- Sharing inspection profiles
- Project settings files to share
Directory based project format
The project settings are stored in the
.idea directory. This format is used by all PyCharm versions by default. Here is what you need to share:
- All the files under
.ideadirectory in the project root except
workspace.xml, storing user-specific settings.
Sharing run/debug configurations
The shared run/debug configurations are kept in separate xml files under
while the local run/debug configurations are kept in
Sharing inspection profiles
To share inspection profiles, make sure to select the check box Share profile on the Inspections page of the Settings dialog.
The shared inspection profiles are stored in separate xml files under
while the local profiles are kept in the
Project settings files to share
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
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.|
Be careful about sharing the following:
datasources.xml- these files can contain database passwords.
You may consider not to share the following:
- User dictionaries folder, to avoid conflicts if another developer has the same name.