|
|
|
|
|
YOUR FEEDBACK
Did you read today's front page stories & breaking news?
SYS-CON.TV |
TOP THREE LINKS YOU MUST CLICK ON First Look
A Better IDE: NetBeans 6.0 - New Core Features in Depth
A better IDE
Nov. 19, 2007 10:00 AM
Digg This!
Page 2 of 2
« previous page
Editable Diff and Inline Diff The new Diff adds other interesting tricks, like one-click merging and word-level diff (if a single word is changed in a line, only that word is highlighted). Check out these improvements in Figure 2. You can also enable an Inline Diff feature, which creates a Diff sidebar, highlighting updated sections of a versioned file. The sidebar lets you visualize or rollback changes and open the full Diff view.
Javadoc Hints Javadoc checking is not active by default but it is easy to enable - you can customize the settings through Tools|Options>Java Code>Hints.
Other Features
Extended Ant and JUnit Support The IDE's JUnit support now handles the annotation-driven test cases of JUnit 4. Old JUnit 3.8 test cases are still supported. Also, the project properties editor is improved with classpath entries specific to unit tests.
Project and Build Features In addition to its Ant support, NetBeans can open and understand Apache Maven 2 projects. Though the new Maven-based project support is not intended to replace Ant projects anytime soon, it will be welcome to Maven fans or to anybody needing to build a project that requires Maven. Also, now you can specify packages or classes to exclude from the source tree. This is useful for working with large projects when you're not interested in seeing or running all of their code and a partial build is viable. If you have many correlated projects, you can organize them into Project Groups, so certain operations like opening projects can be applied to the group as a whole. If you write Java SE projects with many entry points (classes with main() methods), or with command-line parameters that require frequent edits of the project properties, the Run Configurations feature will make your life easier. The project properties' Run page shows a new configuration option. Each configuration allows you to define the main class, arguments and VM options independently of other configurations. See an example in Figure 3. In addition, the new Java Web Start support automates the creation and maintenance of JNLP files, and makes it easier to run tests without needing a browser. In the Project Properties, check Application>Web Start>Enable WebStart, and off you go. Java Web Start support integrates with the Run Configurations feature by creating a Web Start configuration. So you can test the same project with or without JAWS.
Local History Be warned, however, that this feature is mostly useful for undoing mistakes that escape the editor's undo capacity, e.g., after closing the editor or restarting the IDE. You can then revert to a previous state that you haven't yet committed to a safer VCS repository, perhaps because the new code was still rough and untested. The Local History feature is powerful and is sometimes a lifesaver, but it's not a full replacement for a real VCS.
Conclusion Many NetBeans power users may have gone through this article and found features that were already available in previous versions via additional modules. From several editor enhancements to Run Configurations, to the Local History, you could find an nbm file that would provide some level of support for your needs. However, you can now just install the NetBeans IDE and have all these features out of the box - and they're superior, more polished, and better integrated than what's provided through external modules. This happens of course with every new release, but NetBeans 6.0 makes a very noticeable effort to catch up with its enhancements, embracing a large number of improvements that first surfaced as contributions from the broader community. This can only be viewed as great news, and as evidence of a project that moves quickly in the direction users want. Page 2 of 2 « previous page LATEST OPEN WEB DEVELOPER STORIES
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
|
SYS-CON FEATURED WHITEPAPERS MOST READ THIS WEEK BREAKING OPEN WEB DEVELOPER NEWS
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||