Among the eclipse plug-ins, the more well-known node.js plug-in is nodeclipse. This article introduces the nodeclipse installation tutorial for your reference. The specific content is as follows
Install nodeclipse
1. Click Tools → Plug-in Installation → Browse the eclipse plug-in market → Search node.js → Find nodeclipse in the search results as shown below
2. Click install in the picture above to start loading. After loading, click Next to accept the license agreement and wait for the installation to complete
3. Restart HBuilder after installation is complete
4. Create a new node project: click on the menu File→New→Others as shown below
5. Select the nodejs project type you want to create and create a new project
6. Prompt node.js in js file
Note: The editor of nodeclipse is different from the editor of HBuilder. However, both node.js and web js have .js extension. When opening a js file, you need to know which js editor to use to open it.
Generally speaking, since nodeclipse is installed later, the .js file is opened in the node editor by default, and HBuilder's syntax assistant is not prompted in this editor.
To change the opening method, right-click the js file in the project manager - Open with, select the editor you want to open.
You can also set permanent file associations in the menu, and you can set the method you use most to open. It is recommended to set the .js file to be opened with HBuilder's js editor by default, and then right-click when opening the node.js js file and select the nodeclipse editor to open it.
Install JSDT
1. Click Tools → Plug-in Installation → Manually install the eclipse plug-in, and click "Available Software Sites" as shown below
2. Check indigo (Note: After checking, HBuilder will check whether the installed plug-in of indigo has been upgraded when it starts, which will cause the software to start too slowly or be stuck for a long time after starting, so after installing jdt Please uncheck this checkbox again) as shown below
3. After clicking OK, click the drop-down arrow to select Indigo’s site as shown below, and then wait for loading (this process is a bit long, if a proxy is set, it will speed up the loading)
4. After loading, find programming languages as shown below
5. Check JavaScript Development Tools under programming languages as shown below
6. Click Next, accept the license agreement and install. Restart after the installation is complete.
The above is the entire content of this article, I hope it will be helpful to everyone’s study.
Archival of historical materials:
The method to install the nodeclipse plug-in for versions below HBuilder6.3 is as follows:
Foreword, nodeclipse is based on jsdt, HBuilder does not have built-in jsdt. If you want to install nodeclipse, you must first install the jsdt plug-in.