JavaScript
for macOS
Ctrl+Alt+S
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 language version that represents the set of the language features to use in your project. The available options are:
|
Prefer Strict mode | Select this checkbox 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 |
|
Flow package or executable | In this field, specify the path to the node_modules\flow-bin package or the Flow binary executable file. To use node_modules\.bin\flow make sure the path to Node.js is added to the PATH environment variable. 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:
The checkboxes are available only when the path to the Flow executable file is specified. |
Save all modified files automatically | Keep this checkbox selected to ensure that Flow is applied continuously because Flow checks the current files only after all the other modified files are saved. |
Last modified: 4 April 2018