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 badges3 Answers
Reset to default 2There is no dedicated Javascript project type in Netbeans 7. There are still various possibilities to work on HTML/JS files:
Add a JS/HTML file to any of the available projects, e.g. a PHP project.
Open the JS/HTML file directly without having a project by using File/Open.
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.