开发者

Create javascript project in Netbeans?

开发者 https://www.devze.com 2023-01-18 16:02 出处:网络
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 no

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 (?):

Create javascript project in Netbeans?

​​​


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号