for Windows and Linux
for macOS
⌘,⌘,⌘,⌥F7⌃⌥S
In this dialog:
-
Choose whether you want to use the TypeScript Language Service
or to get coding assistance from IntelliJ IDEA only.
- Activate, deactivate, and configure the behaviour of the built-in TypeScript compiler.
| Item | Description |
|---|---|
| Node interpreter | In this field, specify the location of the Node.js executable file. In most cases, IntelliJ IDEA 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 (IntelliJ IDEA 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:
IntelliJ IDEA supports integration with the Angular language service
In the Default options field,
specify the command line options to be passed to the compiler when the By default, the TypeScript Language Service checkbox is selected. |
| 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 tsconfig.json file.
When you open a project, IntelliJ IDEA starts searching for a tsconfig.json file in it. If a tsconfig.json file is found,
the compiler uses the options specified in it. Otherwise an error is reported.
|