In this section:
Increasing productivity
To increase productivity of PyCharm, you can change settings that reside in the following locations (depending on your operating system):
- On Windows systems:
or
<PyCharm installation folder>/bin/pycharm.exe.vmoptions
<PyCharm installation folder>/bin/pycharm64.exe.vmoptions
- On *NIX systems:
or
<PyCharm installation folder>/bin/pycharm.vmoptions
<PyCharm installation folder>/bin/pycharm64.vmoptions
- On OS X:
Since version 12.0.0:
The file /Applications/PyCharm.app/bin/idea.vmoptions should be copied to ~/Library/Preferences/prod1XX/idea.vmoptionsSince version 14.0.0:
The file /Applications/PyCharm.app/Contents/bin/idea.vmoptions should be copied to ~/Library/Preferences/prod1XX/idea.vmoptionsFor the older versions, the settings are stored in Info.plist.
Example. Increasing heap size
For example, to increase PyCharm heap size, you should copy the original .vmoptions file from /Applications/PyCharm.app/Contents/bin/idea.vmoptions to ~/Library/Preferences/PyCharmXX/idea.vmoptions, then modify the -Xmx setting.
For the older versions, the settings are stored in:
/Applications/PyCharm.app/Contents/Info.plist
Managing case of unicode literals
PyCharm allows defining whether non-ascii characters should use literals like '\u00AB' or '\00ab'.
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, do the following (depending on your platform)
-
On Windows and *NIX: add the line
idea.native2ascii.lowercase=true
to the bin/pycharm.properties file, located under the product installation.
-
On OS X:
Copy the file /Applications/PyCharm.app/bin/pycharm.properties to ~/Library/Preferences/PyCharmXX/, open it for editing, and add the line
idea.native2ascii.lowercase=true
It is essential to create a copy, since the settings are replaced rather than added.
For the older versions of PyCharm, open for editing the file /Applications/PyCharm.app/Contents/Info.plist, and add the following code:
<key>idea.native2ascii.lowercase</key> <string>true</string>
to the section <key>Properties</key> <dict> ... <dict>