AppCode supports integration with the Node.js runtime environment thus enabling running, debugging, and unit testing of Node.js applications.
AppCode 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:
Before You Start
- Download and install the Node.js runtime environment.
- Install and enable the NodeJS plugin. The plugin is not bundled with AppCode, but it can be installed from the JetBrains plugin repository as described in Installing, Updating and Uninstalling Repository Plugins and Enabling and Disabling Plugins.
- Node.js page is added to the Preferences dialog box.
- Run/debug configurations are added.
Configuring Node.js in AppCode
- Open the AppCode Preferences by choosing , and click Node.js and NPM under Languages & Frameworks. The Node.js and NPM page opens.
- In the Node Interpreter field, specify the local Node.js interpreter to use. Choose the interpreter from the drop-down list or click and choose the interpreter in the dialog box that opens.
In the Code Assistance area, configure the Node.js core module sources if they are not configured yet.
When developing a Node.js application it can be convenient to have code completion, reference resolution, validation, and debugging capabilities for Node core modules (