IntelliJ IDEA 2016.3 Help

JavaScript

File | Settings | Languages and Frameworks | JavaScript for Windows and Linux
IntelliJ IDEA | Preferences | Languages and Frameworks | JavaScript for OS X
Ctrl+Alt+S

/help/img/idea/2016.3/settings.png

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

In this part:

ItemDescription
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.

Only type-based completion
  • When this check box is cleared, the completion list contains multiple variants in complicated cases.
  • When the check box is selected, the completion list contains only relevant variants.
By default, the check box is cleared.
Flow executable In this field, specify the path to the Flow executable file.

The field is available only when Flow is chosen from the JavaScript Language Version drop-down list.

Resolve using Flow when possible
  • When this check box is selected, suggestion lists for reference resolution contain both suggestions retrieved from integration with Flow and suggestions calculated by IntelliJ IDEA.
  • When the check box is cleared, references are resolved through IntelliJ IDEA calculation only.

The check box is available only when Flow is chosen from the JavaScript Language Version drop-down list.

See Also

Language and Framework-Specific Guidelines:

Last modified: 7 December 2016