IntelliJ Version 5 Enhancements
I had been using version 5 for only about 10 days at the time of writing. I discuss only new features that I actually used (see JetBrain's complete list of new features
). JetBrains made a few menu changes to the new version, most notably:
- The Tools menu has fewer items.
- The Analyze menu has five additional items.
- The View menu has a new "Recent changes" item.
The following sections describe new features that I consider to be the most useful.
CSS Styled Editing
The IntelliJ editor is now "CSS aware". Text is color styled. Placing the cursor at the end of a block highlights the matching begin of block. A "CSS aware" editor finds syntax errors as I edita real time saver!
Support for JSP 2.0 Standard
Code completion seems to work better, and the editor now supports the newer JSP 2.0 standardeven referenced file paths support code completion. Version 4.x had no structure view for JSPs. Now, version 5 offers a reasonably useful structure view for them. You can also use the XML JSPX format. Personally, I am so used to the non-XML JSP format that I am unlikely to change to JSPX. The advantage of using the XML JSPX format is that you can process your page files with an XML parser, use XPATH for searching your pages, etc. In practice, I find the non-XML JSP format easier to use.
I have not done any J2ME development for a few years, so I did not try the new J2ME project support. That said, the description of J2ME support on the JetBrains Web site looked interesting.
Version 5 supports the following three additional refactorings:
- Moving a method between classes
- Inline superclass
- Moving fields to a local scope
Support for Subversion
I have been using CVS forever. In my work flow, I like to keep all code, design artifacts, documentation, etc. under source code control. Since I plan to move up to Subversion in the future, IntelliJ Subversion support will be useful.
Installing IntelliJ 5
The install was simple, and it preserved my 4.x settings. If you want to evaluate version 5 using the free 30-day trial, you can safely use your version JDK1.4 project files. They should still be usable later if you decide not to upgrade.
IntelliJ Still the BestFor Now
For now, IntelliJ is a more productive environment than Eclipse or NetBeans because it is less intrusive to my workflowI don't think about using IntelliJ, I just use it. For me, it is the best Java development system. Still, in the long term, I might switch to Eclipse for most of my development and use NetBeans only for its excellent visual JFC designer. Eclipse has the advantage of being an open development platform for plugins. For example, IntelliJ has great support for JBoss development, but the JBoss Eclipse plugin looks promising. Many good user-written IntelliJ plugins are available, but I believe that a free platform like Eclipse will generate more plugin developer interest.