In this section:
- Increasing productivity
- Managing case of unicode literals
To increase productivity of CLion, you can change settings that reside in the following locations (depending on your operating system) :
- On Windows systems:
<CLion installation folder>/bin/clion64.exe.vmoptions
- On *NIX systems:
<CLion installation folder>/bin/clion64.vmoptions
- On OS X:
/Applications/clionXX.app/Contents/bin/clion.vmoptionsshould be copied to
Alternative ways for Windows and Linux platforms
CLion makes it possible to increase productivity without editing files in the CLion installation folder.
This is done in one of the two ways:
CL_VM_OPTIONSenvironment variable. This variable should contain the path to the file with the settings.
$HOME/.clionXX/idea$BITS.vmoptions(for *NIX) or
%USERPROFILE%.clionXX\clion%BITS%.exe.vmoptions(for Windows) respectively.
The value of the variable BITS:
- For 32-bit systems it is empty.
- For 64-bit systems it is 64.
Finally, you have to create:
For *NIX 32-bit:
For *NIX 64-bit:
For Windows 32-bit:
For Windows 64-bit:
CL_VM_OPTIONS environment variable is defined, or the file
$HOME/.clionXX/idea$BITS.vmoptions (for *NIX) or
%USERPROFILE%.clionXX\clion%BITS%.exe.vmoptions (for Windows) exists,
then this file is used instead of the file located in the CLion installation folder.
Thus, to avoid editing files in the CLion installation folder, one should:
- Do one of the following:
<CLion installation folder>/bin/clionXX.vmoptionsto
$HOME/.clionXX/clion$BITS.vmoptions(for *NIX) or
<CLion installation folder>/bin/clionXX.vmoptionssomewhere and save the path to this location into the environment variable
- Edit the file in the new location.
Example. Increasing heap size
To increase CLion heap size, you should copy the original
clion.vmoptions file from the
~/Library/Preferences/clionXX/clion.vmoptions, then modify the
Managing case of unicode literals
CLion 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, do the following (depending on your platform) :
On Windows and *NIX: add the line
bin/idea.propertiesfile, located under the product installation.
On OS X:
Copy the file
~/Library/Preferences/clionXX/, open it for editing, and add the line
It is essential to create a copy, since the settings are replaced rather than added.