PhpStorm 2016.1 Help


File | Settings | Languages and Frameworks | JavaScript for Windows and Linux
PhpStorm | Preferences | Languages and Frameworks | JavaScript for OS X


Use the pages in this section to specify the JavaScript language version for your project and configure JavaScript support in it.

In this part:

JavaScript Language Version From this drop-down list, choose the JavaScript engine implementation to use in your project in accordance with the targeted environment. When you select an item in the list, the icons on the right of the field indicate the browsers that suit the selected JavaScript version, that is, support the features of the selected JavaScript engine implementation.

The available options are:

Prefer Strict mode Select this check box to have the strict mode standard applied to JavaScript code. This helps improve your code by enforcing best practices and suppressing insecure ones.

You can also configure the type of quotes to be used in use strict statements by choosing Double quotes or Single quotes from the String literal type drop-down list on the Code Style. JavaScript page of the Settings dialog box.

Weaker type guess for completion
  • When this check box is cleared, the completion list contains only relevant variants.
  • When the check box is selected, the completion list contains additional variants in complex cases.

See Also

Language and Framework-Specific Guidelines:

Last modified: 12 July 2016