WebStorm 2017.2 Help

Service Options

File | Settings | Languages and Frameworks | TypeScript for Windows and Linux
WebStorm | Preferences | Languages and Frameworks | TypeScript for macOS

The dialog box opens when you select the Use TypeScript Service check box 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.

Code completion
  • Select this check box 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 WebStorm. To get only suggestions from WebStorm, click Configure and clear the Code completion checkbox in the Service Options dialog that opens.
  • Clear the check box to have only suggestions from WebStorm.
By default, the check box is selected.
Use Angular service The check box 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 check box to activate the Angular language service in your project. The Angular language service is activated by default so WebStorm 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: 29 November 2017

See Also


Language and Framework-Specific Guidelines: