|Node interpreter||In this field, specify the location of the Node.js executable file. In most cases, CLion detects the Node.js executable and fills in the field automatically.|
In this area,
specify the version of the compiler to use (CLion displays the currently chosen version):
|Use TypeScript Service||
Select this check box
to get native support from the TypeScript Language Service
according to the up-to-date specifications. In this case, syntax and error highlighting is performed based on the annotations retrieved from the
TypeScript Language Service while code completion lists contain
both suggestions from the TypeScript Language Service and suggestions calculated by CLion itself.
To get only suggestions from CLion, click Configure and clear the Code completion check box
in the Service Options dialog box that opens.
CLion supports integration with the Angular language service developed by the Angular team to improve code analysis and completion for Angular-TypeScript projects. Note that the Angular language service works only with the projects that use Angular 2.3.1 or higher and TypeScript version compatible with it. The Angular language service is activated by default so CLion starts it automatically together with the TypeScript service and shows all the errors and warnings in your TypeScript and HTML files both in the editor and in the TypeScript Compiler Tool Window. However if you still need to activate the service, click Configure and select the Use Angular service check box in the Service Options dialog box that opens.
In the Default options field,
specify the command line options to be passed to the compiler when the
|Enable TypeScript Compiler||Select this check box to activate the built-in compiler. When the check box is selected, syntax highlighting and code completion are provided based only on the data from the built-in Typescript compiler. After you select this check box, the fields below in the area become active and you can configure the behaviour of the compiler. By default, the check box is cleared.|
From this drop-down list, choose the scope to apply the compiler in. The available options are:
Choose this option to
have the built-in compiler analyze the code according to the settings specified in the |
|Set options manually||
Choose this option to configure the behaviour of the built-in compiler manually: