Node. js plug-in installation graphic tutorial, node. js plug-in graphic

Source: Internet
Author: User

Node. js plug-in installation graphic tutorial, node. js plug-in graphic

Introduction to Node. js

Node. js is a Javascript runtime environment ). In fact, it encapsulates the Google V8 engine. V8 cited worker to execute Javascript very quickly and with very good performance. Node. js optimizes some special use cases and provides an alternative API to make V8 run better in a non-browser environment.

Node. js is a platform based on Chrome JavaScript runtime. It is used to conveniently build fast and scalable network applications. Node. js uses event-driven, lightweight and efficient non-blocking I/O models, making it ideal for data-intensive real-time applications running on distributed devices.

You have understood the basic concepts of node. js. The following describes how to install the node. js plug-in.

In eclipse plug-ins, node. js plug-ins are well-known as nodeclipse.

From HBuilder6.3 to install the tool-plug-in, you can directly install the nodeclipse plug-in.

Restart HBuilder after installation

Create a node project:Choose menu File> New> others, as shown in figure

5. Select the node. js project type to be created to create a new project.
6. Prompt node. js in the js File

Note: The editor of nodeclipse is different from that of HBuilder. However, both node. js and web js use the. js extension. When opening a js file, you need to determine which js editor to use to open it.

Generally, because nodeclipse is installed later, The. js file is opened in the node editor by default. HBuilder syntax assistant is not prompted in this editor.

To change the open mode, right-click the js file in the project manager and choose open mode from the editor you want.

You can also set permanent file association in the menu. You can set the most common way to open the file. We recommend that you set the. js file to open in HBuilder's js editor by default. Then, right-click the node. js file and choose nodeclipse editor to open it.

Archiving historical materials:

Install the nodeclipse plug-in versions earlier than HBuilder6.3 as follows:

Preface: nodeclipse is based on jsdt. HBuilder does not have a built-in jsdt. To install nodeclipse, you must first install the jsdt plug-in.

Install JSDT

1. Choose tools> plug-in installation> manually install eclipse plug-in, and click "available software site", as shown in figure

2. check indigo (Note: After this check box is selected, HBuilder checks whether the plug-in installed in indigo has been upgraded during startup, resulting in slow software startup or slow comparison of cards for a long time after startup, therefore, after jdt is installed, remove this check box .)

3. Click "OK" and click the drop-down arrow to select the indigo site, for example, and wait for loading. (This process is a bit long. If a proxy is set, loading will be faster)

4. After loading, find the programming languages such

5. Check the JavaScript Development Tools under programming languages, as shown in figure

6. Click Next to accept the license agreement and install it. After installation, restart.

Install nodeclipse

1. Choose tools> plug-in installation> browse eclipse plug-in market> Search for node. js> Search for nodeclipse in the search results, as shown in figure

2. Click install in to start loading. After loading, click Next to accept the license agreement. Wait until the installation is complete.

3. Restart HBuilder after installation.

4. Create a node project: Click the menu file in sequence → create → others, as shown in figure

5. Select the node. js project type to be created to create a new project.

6. Prompt node. js in the js File

The above is a graphic tutorial on installing the Node. js plug-in. I hope it will help you! If you want to learn more, please stay tuned to the help House website. New content is updated every day on this site. Thank you very much for your support for the help House website!

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.