Tuning PhpStorm
In this part:
- Tuning PhpStorm
- File 'idea.properties'
Changing PhpStorm properties
You can make PhpStorm work faster by editing the default Java Virtual Machine (JVM) settings. These operations require certain understanding of the JVM functionality and may cause unexpected problems. Therefore it is strongly recommended that you address the JetBrains Support whereupon you will be provided with detailed instructions regarding which settings you need to update and what values should be assigned to them.
See also Reporting Issues and Sharing Your Feedback.
PhpStorm makes it possible to change the *.vmoptions
and the idea.properties
files without editing them in the PhpStorm installation folder.
Managing the *.vmoptions file
To change the JVM options, choose on the main menu. PhpStorm creates a file .vmoptions
and opens it in the editor. Update the file as required. For example, to increase PhpStorm heap size, modify the -Xmx
setting.
The name of the generated .vmoptions
file depends on your operating system:
-
phpstorm.exe.vmoptions
orphpstorm64.exe.vmoptions
for Windows. -
phpstorm.vmoptions
orphpstorm64.vmoptions
for Linux. -
phpstorm.vmoptions
for macOS.
Managing the idea.properties file
To open the idea.properties
file in the editor, choose . If the file does not exist yet, PhpStorm creates it and opens in the editor.
Example: Changing the case of unicode literals
PhpStorm allows defining whether non-ascii characters should use literals like '\u00AB'
or '\00ab'
.
This behavior is controlled by the idea.native2ascii.lowercase
system property. By default, upper-case characters are used.
To use lower-case characters, open the idea.properties
file in the editor and add the following line:
idea.native2ascii.lowercase=true
Specifying custom JDK, properties, or vmoptions files across platforms
A custom JDK, as well as *.properties
and *.vmoptions
files are specified across platforms in a unified way.
All launchers look at the following environment variables: