WebStorm 10.0.0 Help

Tuning WebStorm

In this section:

Increasing productivity

To increase productivity of WebStorm, you can change settings that reside in the following locations (depending on your operating system) :

  • On Windows systems:
    <WebStorm installation folder>/bin/WebStorm.exe.vmoptions
    or
    <WebStorm installation folder>/bin/WebStorm64.exe.vmoptions
  • On *NIX systems:
    <WebStorm installation folder>/bin/WebStorm.vmoptions
    or
    <WebStorm installation folder>/bin/WebStorm64.vmoptions
  • On OS X: The file /Applications/WebStormXX.app/Contents/bin/WebStorm.vmoptions should be copied to ~/Library/Preferences/WebStormXX/WebStorm.vmoptions

    Since version 10.0.0, the file /Applications/WebStorm<version>.app/Contents/bin/WebStorm.vmoptions should be copied to ~/Library/Preferences/WebStorm<version>/WebStorm.vmoptions.

    For earlier versions, the file /Applications/WebStorm<version>.app/Contents/bin/idea.vmoptions should be copied to ~/Library/Preferences/WebStorm<version>/idea.vmoptions.

Alternative ways for Windows and Linux platforms

WebStorm makes it possible to increase productivity without editing files in the WebStorm installation folder.

This is done in one of the two ways:

  • Specify WEBIDE_VM_OPTIONS environment variable. This variable should contain the path to the file with the settings.
  • Create $HOME/.WebStormXX/idea$BITS.vmoptions (for *NIX) or %USERPROFILE%.WebStormXX\WebStorm%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: $HOME/.WebStormXX/WebStorm.vmoptions

    For *NIX 64-bit: $HOME/.WebStormXX/WebStorm64.vmoptions

    For Windows 32-bit: %USERPROFILE%\.WebStormXX\WebStorm.exe.vmoptions

    For Windows 64-bit: %USERPROFILE%\.WebStormXX\WebStorm64.exe.vmoptions

If WEBIDE_VM_OPTIONS environment variable is defined, or the file $HOME/.WebStormXX/idea$BITS.vmoptions (for *NIX) or %USERPROFILE%.WebStormXX\WebStorm%BITS%.exe.vmoptions (for Windows) exists, then this file is used instead of the file located in the WebStorm installation folder.

Thus, to avoid editing files in the WebStorm installation folder, one should:

  1. Do one of the following:
    • Copy <WebStorm installation folder>/bin/WebStormXX.vmoptions to $HOME/.WebStormXX/WebStorm$BITS.vmoptions (for *NIX) or %USERPROFILE%.WebStormXX\WebStorm%BITS%.exe.vmoptions (for Windows)
    • Copy <WebStorm installation folder>/bin/WebStormXX.vmoptions somewhere and save the path to this location into the environment variable WEBIDE_VM_OPTIONS
  2. Edit the file in the new location.

Example. Increasing heap size

To increase WebStorm heap size, you should copy the original WebStorm.vmoptions file from the /Applications/WebStorm<version>.app/Contents/bin/WebStorm.vmoptions to ~/Library/Preferences/WebStorm<version>/WebStorm.vmoptions, then modify the -Xmx setting.

Managing case of unicode literals

WebStorm 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/idea.properties file, located under the product installation.

  • On OS X:

    Copy the file /Applications/WebStorm.app/Contents/bin/idea.properties to ~/Library/Preferences/WebStormXX/, 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 WebStorm, open for editing the file /Applications/WebStorm.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>

See Also

Last modified: 29 May 2015