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 Javascript.
If anyone knows how to set it up to develop with Javascript, please leave a reply. I will be much appreciative.
Thanks.
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 .
To start HTML\JavaScript development in the NetBeans IDE, you first need to create a project. A project contains the information on the location of the project files and the way you want to run and debug your application (run configuration). 2. To create a HTML5 project choose File > New Project.
NetBeans is coded in Java and runs on most operating systems with a Java Virtual Machine (JVM), including Solaris, Mac OS, and Linux. NetBeans manages the following platform features and components: User settings.
NodeJS support for NetBeans, originally hosted on netbeans.org. Provides a project type and support for running NodeJS projects and files in the NetBeans IDE.
Update:
NetBeans 7.4 Released in October 2013, builds on the functionality listed below. As well as direct download of most major JS source files from CDNJS. Version 7.4 includes "Editing support for AngularJS, Knockout and ExtJS frameworks, Navigator and code folding in JSON files, Enhanced code completion with improved accuracy" see more here: https://netbeans.org/community/releases/74/
To set up a new JS project: under the File Menu choose -> New Project.
Step 1: Select HTML5 in categories and HTML5 Application in Projects
Step 2: Name your application.
Step 3: Choose a site template.
Step 4: Search for available libraries, click on the Version number to download previous versions.
Finish and you are done.
NetBeans 7.3 (scheduled for release in February 2013) introduces a new project type optimized for developing client web applications. This new project type can be found in New Project wizard in "HTML/JavaScript" category. HTML project supports is enabled by default for PHP and Java bundles of NetBeans, for other ones it need to be downloaded as a plugin.
see: http://wiki.netbeans.org/NetBeans_73_NewAndNoteworthy#Project_Creation
Original answer:
File> New Project> PHP > PHP Web Application
.. Sounds like crap, but works fine.
Because NetBeans doesn't have Javascript or HTML projects yet (in 7.0.1).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With