JetBrains Rider 2017.2 Help

JavaScript

The following is only valid when JavaScript Support Plugin is installed and enabled!

File | Settings | Languages and Frameworks | JavaScript for Windows and Linux
JetBrains Rider | Preferences | Languages and Frameworks | JavaScript for macOS
Ctrl+Alt+S 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:

ItemDescription
JavaScript Language Version From this drop-down list, choose the JavaScript language version that represents the set of the language features to use in your project. 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.
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 strongly depends on the JetBrains Rider type inference. This makes completion more precise but in case of poor inference the list may be empty.
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.

Use Flow server for: In this area, specify the basis for coding assistance by selecting or clearing the following checkboxes:
  • Type checking: When this checkbox is selected, syntax and error highlighting is provided based on the data received from the Flow server. When the checkbox is cleared, only the basic internal JetBrains Rider highlighting is available.
  • Navigation, code completion, and type hinting: When this checkbox is selected, suggestion lists for reference resolution and code completiong contain both suggestions retrieved from integration with Flow and suggestions calculated by JetBrains Rider. When the checkbox is cleared, references are resolved through JetBrains Rider calculation only.
  • Code highlighting and built-in inspections: Select this checkbox to power native Flow code highlighting and built-in inspections. Please note that enabling this option may cause performance problems. By default, the checkbox is cleared.

The checkboxes are available only when the path to the Flow executable file is specified.

Last modified: 27 December 2017