Create javascript project in Netbeans?
How do you create javascript projec开发者_StackOverflow社区t in Netbeans?
There is no such language category.
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
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?).
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).
Since 8.1 (?):
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.
精彩评论