IntelliJ IDEA 11.1 Web Help

11.0+
Some features described here are available in Ultimate edition only.

IntelliJ IDEA supports integration with the Node.js framework thus enabling running, debugging, and unit testing of Node.js applications. This integration is provided by the Node.js plugin, which is not bundled with IntelliJ IDEA.

IntelliJ IDEA recognizes Node.js code and provides basic coding assistance and highlighting for it. To get guidance in Node development, see HowToNode.org.

In this section:

In this part:

Prerequisites

Note

  1. Node.js plugin is installed and enabled.

    This plugin is not bundled with IntelliJ IDEA, but it is available from the JetBrains plugin repository. Once enabled, Node.js support is available at the IDE level, that is, you can use it in all your IntelliJ IDEA projects.

  2. Node.js framework is downloaded and installed on your computer.

    Note

    You can have several versions of the framework installed and switch between them depending on the requirements of a specific project. To appoint one of the installations as default, click the Change NodeJS Version toolbar button update_node_js and specify the folder with the Node.js version. IntelliJ IDEA will find the executable file in the folder itself and always show the path to it in the Run/Debug Configuration: NodeJS dialog box.

Changes to the UI

Once enabled, Node.js plugin introduces the following changes to the IntelliJ IDEA UI:

  • Dedicated button update_node_js appears on the main toolbar.
  • Run/debug configurations are added.
To enable Node.js support in IntelliJ IDEA
  1. Make sure that Node.js framework is downloaded and installed on your computer.
  2. Install and enable the Node.js repository plugin.
  3. Restart IntelliJ IDEA for the changes to take effect.

See Also

Procedures:

Reference:

External Links:

Web Resources: