PhpStorm 7.1.0 Web Help

File | Settings | Project Settings | JavaScript

settings

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

In this part:

Item Description
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.
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:

Web Resources: