In the previous article we learned how to use Nodejs, as well as some basic theories.
工欲善其事 its prerequisite, this article mainly teaches to build Eclipse's NODEJS development environment.
Q: Who is the right person to read this article?
A: You've been very adept at using eclipse developers.
[Note: The prerequisite is that you have installed Nodejs.exe]
First, we need to download an eclipse, and I'm here to download the latest version of the current edition.
"Download Eclipse Standard 4.3.1 (32-bit)"
Http://www.eclipse.org/downloads/packages/eclipse-standard-431/keplersr1
"Install these three plugins in Eclipse"
Node.js Plugin--Nodeclipse
Update Address: Http://www.nodeclipse.org/updates
If garbled to update this: http://dl.bintray.com/nodeclipse/nodeclipse/0.6.0/
JavaScript Edit Plugin--Vjet
Update Address: http://download.eclipse.org/vjet/updates-0.10
Google V8 plugin (debug prerequisites)
Update Address: http://chromedevtools.googlecode.com/svn/update/dev/
The HTML editor
This is a Japanese website, do not want to log on this site to my Baidu network disk download it.
http://sourceforge.jp/projects/amateras/downloads/57710/tk.eclipse.plugin.htmleditor_2.2.0.jar/
Http://pan.baidu.com/s/11NRO4
Here we download a jar package that is copied directly into the Eclipse/dropins folder to restart Eclipse automatically installed.
[Hint: Because we are doing web development, so HTML magic is necessary. ]
How do I install a plugin?
Click "Help"-> "Install New Software" On the Eclipse toolbar
One input address, and then the installation is the next step.
[Note: Each plugin will reboot after installation ]
How do I create a Nodejs project?
"New Project"
[Note: If you create a project that relies on other node_module, such as the Express Web framework, you need to open Package.json, click the right mouse button, and then select npm Install ]
Wait for automatic download of dependent packages ....
OK, Project Setup completed