Node.js plugin installation graphics and text tutorial _node.js

Source: Internet
Author: User

Node.js Introduction

Node.js is a JavaScript runtime environment (runtime). It actually encapsulates the Google V8 engine. The V8 engine executes JavaScript very quickly and performs very well. Node.js is optimized for special use cases, providing an alternative API that makes V8 run better in a browser-less environment.

Node.js is a platform based on the chrome JavaScript runtime that is used to easily build network applications that respond quickly and easily. Node.js uses event-driven, non-blocking I/O models to be lightweight and efficient, and is ideal for data-intensive, real-time applications running on distributed devices.

We understand the basic concept of node.js, the following to introduce the Node.js plug-in installation method.

In the Eclipse plug-in, the Node.js plug-in is more well-known than the nodeclipse.

From HBuilder6.3, tool-Plug-in installation, you can directly select the Nodeclipse plug-in installation.

Reboot Hbuilder after installation

new node Item: Click the menu file in turn → new → other image below

5. Select the Nodejs project type you want to create new project
6. In the JS file prompts Node.js

Note:The Nodeclipse editor differs from the Hbuilder editor. But Node.js and the web's JS to the extension of. js, open the JS file to distinguish between the use of the JS editor to open.

Generally speaking, because Nodeclipse is installed later, the. js file is opened by default in Node editor, which is not prompted by the Hbuilder syntax Assistant.

To change the open mode, in the project manager to the JS file point right-open the way, select the editor you want to open.

You can also set the Permanent file association in the menu, you can set the way you most often use the open. Recommended settings. js file defaults to use the Hbuilder JS Editor open, and then open the Node.js JS file point in the right key to select the Nodeclipse editor open.

Historical Material Archive:

HBuilder6.3 The following version installs the Nodeclipse plug-in method as follows:

Preface, Nodeclipse is based on JSDT, Hbuilder does not have built-in JSDT, if you want to install Nodeclipse, first install JSDT plug-in.

Install JSDT

1. Click on the tool → plugin installation → manually Install the Eclipse plug-in, click on the "Available software site" as shown below

2. Check Indigo (Note: After checking, the Hbuilder will be checked Indigo installed Plug-ins have been upgraded, resulting in software startup slow or after a long time after the comparison card, so after the installation jdt Please remove this hook again) the following figure

3. Click OK, point down arrow Select Indigo site as below, and then wait to load (this process is a bit long, if the set agent will speed up the loading speed)

4. After loading, find programming languages the following figure

5. Tick programming languages JavaScript Development tools below

6. Click Next, accept license agreement and install, reboot after installation

Install Nodeclipse

1. Click the tool → plug-in installation → Browse Eclipse plugin market → search node.js→ search results Find Nodeclipse the following figure

2. Click on the install in the above image to start loading, load complete point next accept the license agreement static to be installed

3. Restart Hbuilder after installation

4. New node Item: Click the menu file in turn → new → other image below

5. Select the Nodejs project type you want to create new project

6. In the JS file prompts Node.js

The above is a small set to introduce the Node.js plug-in installation graphics and text tutorial, I hope to help you! If you want to know more information please pay attention to cloud Habitat community website, this site has new content updates every day, in this small series thank you very much for the cloud Habitat Community support site!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.