From this drop-down list, choose the version of the TypeScript to use (GoLand displays the currently chosen version).
By default, the
typescriptpackage from the project's
node_modulesfolder is used.
Bundled: choose this option to use the
typescriptpackage that comes bundled with GoLand without attempting to find another one.
Select: choose this option to use a custom
typescriptpackage instead of the one bundled with GoLand. 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 GoLand.
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
GoLand integrates 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 installed by default in all Angular projects that are generated using Angular CLI, see Creating a new Angular application.
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 Tool Window.
Recompile on changes
| From this drop-down list, choose the scope in which the 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.
In this field, specify the command line options to be passed to the TypeScript Language Service when the