GoLand 1.0 Help

Service Options

File | Settings | Languages and Frameworks | TypeScript for Windows and Linux
GoLand | Preferences | Languages and Frameworks | TypeScript for macOS
N/A
settings


The dialog box opens when you select the Use TypeScript Service checkbox and click Configure next to it on the TypeScript page. Use the dialog box to configure TypeScript code completion and activate or disable integration with the Angular language service in TypeScript-Angular projects.

ItemDescription
Code completion
  • 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. To get only suggestions from GoLand, click Configure and clear the Code completion checkbox in the Service Options dialog that opens.
  • Clear the checkbox to have only suggestions from GoLand.
By default, the checkbox is selected.
Use Angular service The checkbox is only available in TypeScript-Angular projects when you are using Angular 2.3.1 or higher with a compatible version of TypeScript and the @angular/language-service package is installed in the project root. Select the checkbox to activate the Angular language service in your project. 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.
Last modified: 2 November 2017

See Also

Reference:

Language and Framework-Specific Guidelines: