Feeds

IntelliJ IDEA 5.0: can it survive the Eclipse onslaught?

Sometimes less is more

Build a business case: developing custom apps

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.

Gartner critical capabilities for enterprise endpoint backup

More from The Register

next story
'Stop dissing Google or quit': OK, I quit, says Code Club co-founder
And now a message from our sponsors: 'STFU or else'
Why has the web gone to hell? Market chaos and HUMAN NATURE
Tim Berners-Lee isn't happy, but we should be
Microsoft boots 1,500 dodgy apps from the Windows Store
DEVELOPERS! DEVELOPERS! DEVELOPERS! Naughty, misleading developers!
Mozilla's 'Tiles' ads debut in new Firefox nightlies
You can try turning them off and on again
Apple promises to lift Curse of the Drained iPhone 5 Battery
Have you tried turning it off and...? Never mind, here's a replacement
Uber, Lyft and cutting corners: The true face of the Sharing Economy
Casual labour and tired ideas = not really web-tastic
Linux turns 23 and Linus Torvalds celebrates as only he can
No, not with swearing, but by controlling the release cycle
prev story

Whitepapers

Top 10 endpoint backup mistakes
Avoid the ten endpoint backup mistakes to ensure that your critical corporate data is protected and end user productivity is improved.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Backing up distributed data
Eliminating the redundant use of bandwidth and storage capacity and application consolidation in the modern data center.
The essential guide to IT transformation
ServiceNow discusses three IT transformations that can help CIOs automate IT services to transform IT and the enterprise
Next gen security for virtualised datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.