RubyMine 7.1.3 Help

TypeScript Support

RubyMine supports developing and running TypeScript source code. RubyMine 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 plugin is enabled. The plugin is bundled with RubyMine and activated by default. If the plugin is not activated, enable it on the Plugins page of the Settings dialog box as described in Enabling and Disabling Plugins.
  2. Make sure the Node.js plugin is installed and enabled.

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

  3. Download and install the Node.js framework.
  4. Configure the Node.js interpreter in RubyMine:
    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: 27 June 2015