In this dialog:
- Specify the Node.js interpreter and the
typescriptpackage to use in your project.
- Choose whether you want to use the TypeScript Language Service or to get coding assistance from CLion only.
- Configure the behaviour of the built-in compiler.
In this field, specify the location of the Node.js interpeter to use. In most cases, CLion detects it and fills in the field automatically.
From this drop-down list, choose the version of the TypeScript to use (CLion displays the currently chosen version):
- Bundled: choose this option to use the
typescriptpackage that comes bundled with CLion without attempting to find another
- Select: choose this option to use a custom
typescriptpackage instead of the one bundled with CLion. Choose the path to the relevant package in the dialog that opens.
TypeScript Language Service
Select this checkbox to get native support from the TypeScript Language Service according to the up-to-date specifications. As a result:
- Syntax and error highlighting is based on the annotations from the TypeScript Language Service.
- Completion lists contain both suggestions from the TypeScript Language Service and suggestions calculated by CLion.
|Also for projects without tsconfig.json|| When this checkbox is selected, the TypeScript Language Service also processes projects that do not contain a |
|Angular Language Service||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 Tool Window. By default the checkbox is selected.|
|Recompile on changes|| |
|Compile scope|| From this drop-down list, choose the scope in which compiler will work when you click Compile and choose Compile All in the TypeScript Tool Window. The available options are: |
|Options|| In this field, specify the command line options to be passed to the TypeScript Language Service when the |