In this dialog:
- Choose whether you want to use the TypeScript Language Service or to get coding assistance from CLion only.
- Activate, deactivate, and configure the behaviour of the built-in TypeScript compiler.
|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.|
|TypeScript version|| 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. As a result: |
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, select the Angular Language Service checkbox.
In the Default options field, specify the command line options to be passed to the compiler when the
By default, the Use TypeScript Service check box is selected.
|Enable TypeScript Compiler||Select this check box to activate the built-in compiler. When the checkbox is selected, syntax highlighting and code completion are provided based only on the data from the built-in TypeScript compiler. After you select this checkbox, the fields below in the area become active and you can configure the behaviour of the compiler. By default, the checkbox is cleared.|
|Track changes|| |
|Scope|| From this drop-down list, choose the scope to apply the compiler in. The available options are: |
|Use tsconfig.json|| 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: |