PhpStorm 2017.2 Help

Tuning PhpStorm

In this part:

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 Help | Edit Custom VM Options 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 or phpstorm64.exe.vmoptions for Windows.
  • phpstorm.vmoptions or phpstorm64.vmoptions for Linux.
  • phpstorm.vmoptions for macOS.

Managing the idea.properties file

To open the idea.properties file in the editor, choose Help | Edit Custom Properties. 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:

  • PHPSTORM_JDK (PHPSTORM_JDK_64)
  • PHPSTORM_PROPERTIES
  • PHPSTORM_VM_OPTIONS
Last modified: 28 November 2017

See Also