Feeds

IntelliJ IDEA 5.0: can it survive the Eclipse onslaught?

Sometimes less is more

The Power of One Brief: Top reasons to choose HP BladeSystem

Alongside its editing features, IDEA is strong for static code analysis. It claims over 500 code inspections, 170 of which are new in this version. After running a code analysis, you can browse through the suggestions, complete with explanatory descriptions, and in many cases implement proposals with a single click.

This screenshot shows IDEA’s static code analysis.

In addition, code inspection takes place automatically when a file is open in the editor. IDEA displays any warnings or errors as coloured bars in the margin.

IDEA includes an innovative but unsatisfactory GUI designer. You are meant to design your form with XY layout, then group components into horizontal, vertical, or grid layouts. The final step is to apply a grid layout to the complete form. IDEA stores the form layout as XML, from which it generates Java code.

This sscreenshot shows the rather unsatisfactory GUI designer.

It works, but it can be awkward to get the exact layout you want, or to modify existing layouts. JBuilder’s two-way source code/designer integration is much preferable; as is the NetBeans GUI designer. In fact, even working purely with code is probably easier in the long run.

Roadmap Demetra

Major improvements to the GUI designer are promised for the next version of IDEA, code-named Demetra. New team collaboration features are also on the roadmap, along with EJB 3.0 support, WebSphere integration, and a visual Javaserver Faces designer. The roadmap for IDEA 6.0 is here.

Jetbrains has stepped up J2EE support in version 5.0 of IDEA, with special focus on the front-end. This means smart editing for JavaServer Pages, XML, HTML, CSS and Javascript, including new features in JSP 2.0. IDEA calls on the services of Xerces for XML validation. There is also coding help for EJB modules, and specific debugging and deployment support for Apache Tomcat and BEA WebLogic but not, curiously, for IBM’s WebSphere or the open source JBoss, although a JBoss plug-in is available.

IDEA is resource-hungry and needs a fast system with generous amounts of RAM. Sometimes there are noticeable pauses, presumably while the background parser catches up with your work, and users of earlier versions complain that version 5.0 is significantly slower than before. Another common gripe is weak documentation for the plug-in API.

Evaluating IDEA

IntelliJ IDEA has a loyal following, and it is easy to see why. Developers who spend most of their time coding set a high value on the myriad productivity tools. These take some time to learn, but the effort is soon repaid and IDEA enables you to work fast while maintaining high standards. However, if you are looking for such things as visual editors, modelling tools, code generation for XML web services, database tools, Struts designers, or J2EE frameworks, IDEA is not for you (although there are third-party plug-ins for some of these features). IDEA is for developers who live in the code.

The difficult question is how well IDEA will continue to survive the Eclipse onslaught. The Eclipse tools platform shares some of IDEA’s philosophy; especially its focus on refactoring. Eclipse also benefits from richer cross-industry support, with an array of sub-projects. Nevertheless, although Eclipse is not going away, those who discover IDEA still have reason to be satisfied. Sometimes less is more, and sharp single-company focus has advantages over a consortium of diverse groups pressed together. As a pure editor IDEA has the edge, and it is easier to learn and use, but it will inevitably feel the pressure as one company after another comes up with Eclipse-specific extensions. ®

Links

For more information about IDEA and an evaluation copy, see here.

New features in IDEA 5.0 are listed here.

Securing Web Applications Made Simple and Scalable

More from The Register

next story
Whoah! How many Google Play apps want to read your texts?
Google's app permissions far too lax – security firm survey
Chrome browser has been DRAINING PC batteries for YEARS
Google is only now fixing ancient, energy-sapping bug
Do YOU work at Microsoft? Um. Are you SURE about that?
Nokia and marketing types first to get the bullet, says report
Microsoft takes on Chromebook with low-cost Windows laptops
Redmond's chief salesman: We're taking 'hard' decisions
EU dons gloves, pokes Google's deals with Android mobe makers
El Reg cops a squint at investigatory letters
Big Blue Apple: IBM to sell iPads, iPhones to enterprises
iOS/2 gear loaded with apps for big biz ... uh oh BlackBerry
OpenWRT gets native IPv6 slurping in major refresh
Also faster init and a new packages system
Microsoft's anti-bug breakthrough: Wire devs to BRAIN SCANNERS
Clippy: It looks your hands are shaking, are you sure you want to commit this code?
prev story

Whitepapers

Top three mobile application threats
Prevent sensitive data leakage over insecure channels or stolen mobile devices.
The Essential Guide to IT Transformation
ServiceNow discusses three IT transformations that can help CIO's automate IT services to transform IT and the enterprise.
Mobile application security vulnerability report
The alarming realities regarding the sheer number of applications vulnerable to attack, and the most common and easily addressable vulnerability errors.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.