RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX


The JavaScript Hater's Guide to the NetBeans JavaScript Editor : Page 4

Writing and debugging JavaScript can be painful, but if you develop web applications, chances are that you'll be doing more and more of it. If this sounds like you, the latest version of NetBeans could be just what the doctor ordered.

It can be a hassle to navigate through large JavaScript files. The NetBeans JavaScript editor provides several features to make this task easier. First, whenever you are editing JavaScript code, a tree-like navigation view sums up the entire contents of the script (see Figure 8).

Click to enlarge

Figure 8. The JavaScript Navigation View:
It can be a hassle to navigate through large JavaScript files.

Second, you can move the code around quite easily from within the editor. For example, jumping to the declaration of a function is easy using the “Navigate → Go to declaration” menu option. If several functions share the same name, NetBeans will propose a list and let you choose.

A JavaScript-Hating Java Guy's Dream Come True
The latest NetBeans release has come up with something we've always dreamed of—a powerful, fully-featured, out-of-the-box JavaScript editor for us poor Java developers. Intelligent syntax coloring, real-time syntax error detection, code-quality checks, code completion, navigation—this editor has it all!

According to the documentation, some of the features, such as the code completion and the navigation, are still a bit shaky, but I didn't encounter any particular problems. The overall impression I got was of a highly usable, well thought-out JavaScript editor that makes Java developers feel at home. Check it out!

John Ferguson Smart is principal consultant at Wakaleo Consulting, a company that provides consulting, training, and mentoring services in Enterprise Java and Agile Development. Well known in the Java community for his many published articles and talks, he is also the author of the book Java Power Tools.
Email AuthorEmail Author
Close Icon
Thanks for your registration, follow us on our social networks to keep up-to-date