IntelliJ IDEA 14.0.0 Web Help

TypeScript Support

IntelliJ IDEA supports developing and running TypeScript source code. IntelliJ IDEA recognizes *.ts files, and allows you to edit them providing full range of coding assistance without any additional steps from your side. TypeScript files are marked with the typeScript.png icon.

To run, debug, and test your code you will need it translated into JavaScript which requires a transpiler

In this section:

Preparing for TypeScript development

  1. Make sure the JavaScript Support and Node.js plugins are installed and enabled.

    The plugins are not bundled with IntelliJ IDEA, but they are available from the JetBrains plugin repository. Once enabled, the plugins are available at the IDE level, that is, you can use it in all your IntelliJ IDEA projects. See Installing, Updating and Uninstalling Repository Plugins and Enabling and Disabling Plugins for details.

  2. Download and install the Node.js framework.
  3. Configure the Node.js interpreter in IntelliJ IDEA:
    1. Choose File | Settings and in the Settings dialog box that opens, click Node.js and NPM under Languages&Frameworks.
    2. On the Node.js page that opens, specify the location of the desired Node.js interpreter.

Coding assistance

TypeScript support includes:

See Also

Last modified: 4 December 2014
comments powered by Disqus