In this dialog:
- Choose whether you want to use the TypeScript Language Service or to get coding assistance from GoLand 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, GoLand detects the Node.js executable and fills in the field automatically.|
|TypeScript|| From this drop-down list, choose the version of the compiler to use (GoLand displays the currently chosen version): |
|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: |
GoLand 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 GoLand 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
|Recompile on changes|| |
|Compile scope|| From this drop-down list, choose the scope to apply the compiler in. The available options are: |
VCS Scopes: these scopes are only available if your project is under version control.
|Use tsconfig.json|| Choose this option to have the built-in compiler analyze the code according to the settings specified in the |