最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How to create JavaScript projects in Netbeans 7? - Stack Overflow

programmeradmin1浏览0评论

I have the basic Java version of NetBeans installed, but I want to be able to create JavaScript/HTML projects with auto-pletion and other IDE-supported functionality. I can't seem to find out what I need to install to do this. What do I need to do?

I have the basic Java version of NetBeans installed, but I want to be able to create JavaScript/HTML projects with auto-pletion and other IDE-supported functionality. I can't seem to find out what I need to install to do this. What do I need to do?

Share Improve this question edited Aug 19, 2011 at 14:17 Thomas Owens 116k100 gold badges320 silver badges436 bronze badges asked Aug 19, 2011 at 13:56 IainIain 9,47211 gold badges51 silver badges65 bronze badges
Add a ment  | 

3 Answers 3

Reset to default 2

There is no dedicated Javascript project type in Netbeans 7. There are still various possibilities to work on HTML/JS files:

  1. Add a JS/HTML file to any of the available projects, e.g. a PHP project.

  2. Open the JS/HTML file directly without having a project by using File/Open.

  3. Define own project type. This is likely not so easy.

In any case you will be able to edit the file and utilize the IDE language features like autopletion, etc. But you will not be able to run/debug the JS file. For debugging you will need to use the debuggers integrated with the browsers (Developer Tools in IE, Chrome; Firebug in Firefox, etc.)

You install the PHP plugin from the Plugin directory. This isn't explained anywhere that I can see, I just had to guess.

You can download the php bundle for netbeans here.You can also create xml,json,css,php pages with it.

发布评论

评论列表(0)

  1. 暂无评论