Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

NodeJS support for NetBeans, originally hosted on netbeans.org

License

NotificationsYou must be signed in to change notification settings

timboudreau/nb-nodejs

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.

Features

  • A NodeJS project type which uses Node's built-inmetadata: Any folder with apackage.json file is a project
  • Support for running projects or individual files in Node
  • Detects dependencies by scanning sources, understands and can updatepackage.json metadata
  • Support for searching for libraries and adding them to a project (usingnpm under 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.

alt text

Requirements

  • 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.

Installation

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.

alt text

Supported Platforms

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.

Building

The plugin is built usingMaven:

cd node-projectsmvn install nbm:nbm

Projects In This Repository

The 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.

License

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2026 Movatter.jp