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 IntelliJ IDEA 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, IntelliJ IDEA detects it and fills in the field automatically.
From this drop-down list, choose the version of the TypeScript to use (IntelliJ IDEA displays the currently chosen version):
- Bundled: choose this option to use the
typescriptpackage that comes bundled with IntelliJ IDEA without attempting to find another
- Select: choose this option to use a custom
typescriptpackage instead of the one bundled with IntelliJ IDEA. 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 IntelliJ IDEA.
|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||IntelliJ IDEA 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 IntelliJ IDEA 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: |
VCS Scopes: these scopes are only available if your project is under version control.
|Options|| In this field, specify the command line options to be passed to the TypeScript Language Service when the |