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
To force NetBeans to check JavaScript within PHP files, follow these instructions.
Go to Tools > Options > Miscellaneous > Files. From drop down menu File Extension select php5. From drop down menu Associated File Type (MIME) select text/javascript
NetBeans do support development of JavaScript. But, the Javascript files should have a web project container. Hence, first create a Web Application project by going to File> New Project> Java Web> Web Application
. Continue and create a project. Once the project is created, expand the project to view Web Pages
folder. Right click on the folder and select New > Other
. Choose Other
in Categories
and then select JavaScript File
. Start developing.