In this section:
- Changing PyCharm properties
- Managing *.vmoptions file
- Managing idea.properties file
Changing PyCharm properties
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
on the main menu respectively. Refer to
Edit custom properties for details.
Managing *.vmoptions fileFor Mac OS X systems: The file
/Applications/PyCharm XX.app/Contents/bin/pycharm.vmoptionsshould be copied to
For the older versions, the settings are stored in
For *NIX and Windows systems:
To avoid editing files in the PyCharm installation folder, one should:
- Do one of the following:
- Copy the existing file from the PyCharm installation folder somewhere and save the
path to this location in the environment variable
- Copy the existing file
<PyCharm installation folder>/bin/pycharm$BITS.vmoptionsfrom the PyCharm installation folder into the location under user home:
- For *NIX:
- For Windows:
The value of the variable BITS depends in the JVM used to run PyCharm:
- For 32-bit JVM it is empty.
- For 64-bit JVM it is 64.
Refer to the support article Selecting the JDK version the IDE will run under for details.
- For *NIX:
- Copy the existing file from the PyCharm installation folder somewhere and save the path to this location in the environment variable
- Edit this file in the new location.
PYCHARM_VM_OPTIONS environment variable is defined, or the
*.vmoptions file exists,
then this file is used instead of the file located in the PyCharm installation folder.
Example: Increasing the heap size
To increase PyCharm heap size, you should copy the original
pycharm.vmoptions file to the
above-mentioned location, and then modify the
Managing IDEA.properties file
idea.properties, located in the
directory of the PyCharm installation folder, should not be edited. Instead of editing the original
idea.properties, create file
in the location specified below, open it for editing and add the required
So, depending on your platform:
- For Windows: in
- For *NIX: in
- For Mac OS X: in
Example: Changing case of unicode literals
PyCharm allows defining whether non-ascii characters should use literals like
This behavior is controlled by the system property
idea.native2ascii.lowercase. By default,
upper case characters are used.
If it is desirable to use lower case characters, create the file
in the location specified above, open it for editing and add the following line: