|Node interpreter||In this field, specify the location of the Node.js executable file. In most cases, RubyMine detects the Node.js executable and fills in the field automatically.|
|TypeScript version|| In this area, specify the version of the compiler to use (RubyMine displays the currently chosen version): |
|Use TypeScript Service|| Select this check box to get native support from the TypeScript Language Service according to the up-to-date specifications. In this case, syntax and error highlighting is performed based on the annotations retrieved from the TypeScript Language Service while code completion lists contain both suggestions from the TypeScript Language Service and suggestions calculated by RubyMine itself. To get only suggestions from RubyMine, click Configure and clear the Code completion check box in the Service Options dialog box that opens. |
RubyMine 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 RubyMine 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, click Configure and select the Use Angular service check box in the Service Options dialog box that opens.
In the Default options field, specify the command line options to be passed to the compiler when the
|Enable TypeScript Compiler||Select this check box to activate the built-in compiler. When the check box is selected, syntax highlighting and code completion are provided based only on the data from the built-in Typescript compiler. After you select this check box, the fields below in the area become active and you can configure the behaviour of the compiler. By default, the check box is cleared.|
|Track changes|| |
|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 |
|Set options manually|| Choose this option to configure the behaviour of the built-in compiler manually: |