NetBeans 7.3 with HTML5 support

Oracle has released Version 7.3 of their IDE NetBeans.
NetBeans is an IDE primarily focused on Java development, but it also supports development with other languages like PHP and C/C++.
Recent releases of NetBeans lacked good support for HTML5 / CSS3 / JavaScript.
Most new features of the new version 7.3 address this lacking support for web development (desktop and mobile).

There are some screencasts which introduce some of the new features:
NetBeans IDE 7.3 Overview
Getting Started with HTML5 Applications
Working with CSS Style Sheets in HTML5 Applications
Testing and Debugging JavaScript in HTML5 Applications

HTML5 / CSS3 / JavaScript support

There is a new JavaScript editor (with support for ScriptDoc, ExtDoc and JsDoc) and debugger.
The editor is capable of detecting common JavaScript patterns.
NetBeans now offers code completion for new HTML5 elements, the JavaScript framework jQuery and CSS3.

There is a new project type “HTML/JavaScript” with an HTML5 project template plus additional online templates for a lot of JavaScript frameworks (e.g. AngularJS by Google).
All major frameworks can be downloaded and included from public CDNs directly within the IDE.

There is now an embedded WebKit browser which offers features like JavaScript debugging, instant CSS styling and automatic refresh when saving source files.
It is possible to select different screen resolutions to simulate certain devices like tablets and smartphones.

It is possible to run JavaScript Unit Tests via js-test-driver – very similar to JUnit tests for Java.

NetBeans comes with a Chrome extension to remote controll the browser.
This enables live preview of web page: while you edit your source files, the browser instantly modifies the web page. Additionally, the corresponding page element to your cursor in the source file is highlighted in the browser.
This is a very nice feature which is similar to the “Live Edit” feature of the WebStorm IDE.

General Editor and Java support

The code editor now offers a clipboard history, breadcrumbs for navigating in the code and better code block visualization (bracket matching).
The Java support and profiler have been improved further.

An interesting new feature for projects using JPA is that you can now execute JPQL queries directly from the IDE against your database without starting your application.
The corresponding JPQL editor supports code completion and can show you an SQL representation of your JPQL queries.

Groovy support

Groovy 2.0.5 has been integrated.
There is now support for Groovy JUnit tests, an improved Groovy code editor and the ability to run, debug and test a groovy file via a context menu.
There are new refactorings for Groovy Code: Find usages and rename.

JavaFX support

The new JavaFX features include an improved FXML and SceneBuilder support.
The project infrastructure has been updated and improved.

Grab it while it’s hot

Version 7.3 of NetBeans is a big step – primarily for users who want to develop HTML5 applications.
For a full list of the new features, see NetBeans 73 NewAndNoteworthy.
You can download different editions of the IDE from the downloads page.

Short URL for this post: http://wp.me/p4nxik-1nc
This entry was posted in Groovy and Grails, Java and Quality, Web as a Platform and tagged , , , , , , , , , . Bookmark the permalink.

Leave a Reply