never_had_a_name
never_had_a_name

Reputation: 93196

Create javascript project in Netbeans?

How do you create javascript project in Netbeans?

There is no such language category.

Upvotes: 15

Views: 14946

Answers (5)

janot
janot

Reputation: 14552

Since 8.1 (?):

enter image description here

​​​

Upvotes: 1

Tim Boudreau
Tim Boudreau

Reputation: 1781

There is a node js plugin which has a javascript project type for that.

There is also the adhoc project plugin which will let you treat any folder as a project for purposes of opening files (no "run" support).

Upvotes: 3

Mike Hall
Mike Hall

Reputation: 1151

It looks like you can choose "Java Web" for the category and "Web Free-Form Application". I had to provide it with a dummy "build script", but that was the worst hack.

Upvotes: 0

Steve Perkins
Steve Perkins

Reputation: 11880

The JavaScript project type was removed because it's essentially superfluous. Even in a non-JavaScript project, NetBeans will still recognize any JavaScript libraries that you add, and code completion should still work automatically.

Reference: http://forums.netbeans.org/ptopic14084.html

Upvotes: 8

dr Hannibal Lecter
dr Hannibal Lecter

Reputation: 6721

Can you simply create a PHP project for example and then delete everything related to PHP? ;)

You can simply leave your .js and any other files you need (.html?).

Upvotes: 6

Related Questions