Archive for October, 2006

Internationalizing GWT Applications with IntelliJ IDEA

Wednesday, October 25th, 2006

Upcoming version of IntelliJ IDEA features improved GWT support. Internationalization (i18n) of GWT application was made easier than ever.
IntelliJ IDEA leverages GWT i18n support through all of its productivity-enhancing features:

  • Convenient navigation through property files and references.
    GWT property file navigation

    Click the icon at the property reference to open the corresponding property file.
    Plus, the Go to implementation action lets you jump to referenced properties directly from code.
    GWT goto implementation

  • Dedicated inspections that spot disrepancies between property files and interfaces.
    GWT inspection

  • Intelligent quick-fixes that let you instantly create missing methods and properties.
    GWT quick fixes

  • I18n-aware refactorings let you conveniently change property, interface and property file names.

The latest builds of IntelliJ IDEA 6.0 where this feature is available, can be obtained through the IntelliJ IDEA EAP. The official release is scheduled to the October, 30, 2006.

Technorati tags: , , ,

IntelliJ IDEA at The AJAX Experience

Wednesday, October 18th, 2006

We’re glad to let you know that once again JetBrains takes part in the AJAX Experience conference, held in Boston on October 23-25, 2006.
Mike Aizatsky, JavaEE Project Manager at JetBrains will outline major benefits the new version of IntelliJ IDEA brings to AJAX developers:

  • Smart HTML/XHTML, CSS, XML, JavaScript and JSP code assistance
  • AJAX-aware on-the-fly code validation and error highlighting
  • AJAX-ready refactorings
  • Rich support for Struts, JSF and GWT frameworks
  • and more.

Also notice that the on-site JetBrains AJAX survey will be held at the conference. 20 lucky winners will be arbitrarily chosen from the Survey participants, to obtain their free personal copies of IntelliJ IDEA 6.0 and TeamCity 1.0.

Technorati tags: , ,

Unveiling the Power of Server-Side Code Inspections

Tuesday, October 10th, 2006

People often ask us: “How do you know when the product is ready for release”? For TeamCity one of the important conditions was that it had to be able to run off-line inspections on the entire IntelliJ IDEA 6.0 source code.

This was quite a challenging task: IntelliJ IDEA includes more than 30.000 various classes. Nevertheless, TeamCity had produced the complete analysis report only after 10 hours of digging through this vast amount of code.

Of course, there were various mistakes and disrepances in the sources. Not mentioning trivial things like public methods not ever used anywhere, we discovered really hard-to-catch errors like this:
Code Example

As you can see, the inspection says that myFileToUrl does not have to be a field and can be converted to a local variable, because it’s only used in one method and queried only after it is assigned (so, there is no need to save its value between the calls to the method).

At first glance it looks harmless to go on with the conversion, but after taking a closer look we realized that the author made an effort to cache the result of a time-consuming calculation (the “for” loop), but stopped halfway.

We added the guard condition and the inspection promptly went away:
Yet Another Code Example
The original intention is now implemented correctly : the HashMap is created only at the first method invocation. The caching is now working, and IntelliJ IDEA became slightly faster than before.

In fact, this particular problem could have been easily detected by the IntelliJ IDEA on-the-fly error highlighting feature. All we needed to do was to open this file in the editor and look through the code. The problem is that in real life, this might not have happened for weeks of even months.

The server-side inspections are important and powerful because they give you the complete list of suspicious code fragments, including the ones which you would never stop at while just browsing the code in the editor.

Technorati tags: , ,

Intelligent Instant Messaging: Collaborate Productively

Friday, October 6th, 2006

I’m glad to tell you that JetBrains and Jive Software have partnered to launch the free hosted service to help IntelliJ IDEA users to take advantage of the IntelliJ IDEA built-in collaboration feature, that lets you see the presence of co-workers, send code-pointers, view one another’s source files, etc.
Just select intellijoin.org server while registering your “new Jabber account” from inside IntelliJ IDEA IDETalk and you’ll get a new account on the Intellijoin Wildfire server. This will allow you to collaborate with anyone on the federated XMPP network (including Gmail contacts).

Technorati tags: , ,

Double Volley: IntelliJ IDEA 6.0 and TeamCity 1.0

Monday, October 2nd, 2006

We are proud to announce the release of IntelliJ IDEA version 6.0!
The new version of IntelliJ IDEA comes with a great number of new features and embedded tools, to support developers that specialize in different Java-related development aspects and help them become more productive and successful than ever.

Key highlights of 6.0 release:

  • Enterprise & Web Development with brand new support for EJB 3.0, Struts, GWT, AJAX and improved features for HTML/CSS, XML, JSP, and JSF development.
  • Enhanced Swing GUI Designer with support of different layout managers and many new usability features.
  • Team Work Facilitation through integration with TeamCity, new IDE intependent JetBrains product for continuous cycle software development.
  • Tons of Other New Features & Enhancements including extended Code Coverage, VCS changelists management, and muchmore.

Read the complete list of the new features to fully satisfy your curiosity.

Also, being no lesser proud, we are glad to tell you that TeamCity version 1.0 is out now!

TeamCity is an innovative, IDE independent, integrated team environment targeted for .NET and Java software developers and their managers. It automates and coordinates key collaborative processes, providing tight integration with multiple build and test tools, real-time unit test frequency, server-side inspections and code coverage analysis.

Read the complete story of all TeamCity features

Technorati tags: , ,