I just downloaded Netbeans because I read another question saying it\'s a good IDE to develop Javascript with. I tried making a new project, but there is no option to set it to
[Note: this is for Netbeans 7.3+]
In NetBeans, a PHP project is a pretty general web application that can contain JavaScript, HTML, PHP, CSS, XML, and all the different web & server technologies (except Java) the Netbeans supports. So you can use a PHP aapplication as a general web project. This option is better than an HTML5 project because it includes server-side processing in the form of PHP files. Also, if you are developing in JavaScript, you will probably be using Ajax at some point, and PHP is a good language for the server side of Ajax, as well as server-side processing in general.
Create a PHP Project.
File menu.New Project.PHP in Categories.PHP Application.NextIf you do not have the PHPOption in the New Project Dialog, then you did not install the PHP NetBeans plugin.
Installing the PHP Plugin:
Tools menu.Plugins option. (It is second from the bottom)Available Plugins Tab.PHP.PHP Plugin..Install. (Lower-left corner)Next on the dialog that comes up.I accept checkbox.Install button.restart IDE, Exit Netbeans, and then Open it again. It may take longer than usual because it is installing the new Features.
To make JavaScript Files:
File menu.New File.[Select the relevant category]
A. (Netbeans 8.x) click HTML5 in Category.
B. (Netbeans 7.x) click Other in Category.
JavaScript File.