Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NetBeans Javascript?

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.

like image 313
Shannon Rothe Avatar asked Sep 29 '11 03:09

Shannon Rothe


People also ask

Does NetBeans support 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 .

Can NetBeans run HTML?

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.

What programming language is NetBeans?

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.

Does NetBeans support node JS?

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.


1 Answers

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 1: select HTML5 in categories and HTML5 Application in Projects

Step 2: Name your application. Step 2: name your application

Step 3: Choose a site template. Step 3: choose a site template

Step 4: Search for available libraries, click on the Version number to download previous versions. Step 4: Search for available JS libraries in 'Available'

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).

like image 118
c69 Avatar answered Sep 19 '22 23:09

c69