- Notifications
You must be signed in to change notification settings - Fork12
NodeJS support for NetBeans, originally hosted on netbeans.org
License
timboudreau/nb-nodejs
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
NodeJS support for NetBeans, originally hosted on netbeans.org.
Provides a project type and support for runningNodeJSprojects and files in theNetBeans IDE.
- A NodeJS project type which uses Node's built-inmetadata: Any folder with a
package.jsonfile is a project - Support for running projects or individual files in Node
- Detects dependencies by scanning sources, understands and can update
package.jsonmetadata - Support for searching for libraries and adding them to a project (using
npmunder the hood) - Clickable stack traces in the output window
- Ability to download and open NodeJS's sources as links in a stack trace
- Allows the IDE to recognize scripts beginning with
#!/usr/bin/env nodeas Javascript sources - Detects and installs missing libraries
Seethis blogfor a broader description of the project.
- NodeJS > 0.6.0
- npm - Node Package Manager (if you have a recent version of NodeJS, you have it)
- Java 7 or greater
The plugin will function without Node installed, but is not very useful.
Recent NetBeans builds have a rewritten Javascript editor with much better code completionwhich works with NodeJS. Get adaily buildor version7.3 or later for the best experience.
Get it fromthis NetBeans update server - see the instructions, OR
Download the NBM file from the continuous buildontimboudreau.com. It will be namednodejs-$VERSION.nbm.
install it using Tools | Plugins, on the Downloaded tab, in the IDE.Longer term, it will be available from the standard NetBeans updatecenter, so no separate download will be needed.
This plugin was originally written before Node supported MS Windows. Windows is recentlysupported, and should work. Pleasefile bugs if there are problems - your humble author is nota Windows user, but is happy to fix anything that doesn't work.
The plugin is built usingMaven:
cd node-projectsmvn install nbm:nbmThe main NodeJS plugin is thenode-projects plugin. There is also the skeleton of a Node platformfor the Java/Nashorn-based AvatarJS project, which is still embryonic, and pending projects to develop code completion.
Sources are licensed under theMIT license,which amounts to: Do what you want with it but give credit where credit is due.
The original sources are available in the history of thenetbeans.org contrib repository.They were moved here because netbeans.org's process for approving usingthird-party libraries was slowing down development. Such restrictionsexist for good reason, but hosting elsewhere and using a more broadlycompatible license was the most expedient solution. As the sole contributorand joint copyright holder, I can relicense it, so I did.
About
NodeJS support for NetBeans, originally hosted on netbeans.org
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.

