Setting up your Eclipse IDE to build debug and deploy Node.js applications
Given that Eclipse is a wonderful tool to work with, I wanted to set it up to work with Node.js applications. Nodeclipse is an eclipse plugin that you need to install to develop and debug your Node.js applications.
Follow these simple steps below to have your Eclipse IDE up and ready to create Node.js applications.
Install Node.js and npm from Nodejs.org
Get your latest copy of Eclipse from http://www.eclipse.org/downloads/
Once you install eclipse, Visit the Marketplace from Help->Eclispe Market Place
If you want to import an existing code base from a repo, you need to install corresponding source control management plugin also. MercurialEclipse is the plugin if you are using hg mercurial, Subclipse if you are using SVN, EGit if you are using GIT. Search for the plugin in the marketplace and install it.
You can configure your Plugin by referring to their corresponding wikis: MercurialEclipse, EGit, Subclipse
To create a new project, File->New->Project->NodeJS Project
To create an Existing Project from a Mercurial Repo, File->New-> Project->Mercurial->Clone existing mercurial project and provide the repo url
To create an Existing Project from a SVN Repo, File->New-> Project->SVN->Checkout projects from SVN and provide the repo url
Configure your Nodejs path inEclipse by navigating to Window->Preferences->Nodeclipse
Your Project setup is now done and you can create, edit, debug your NodeJS project in Eclipse
Read about how to create your first Node.js application