IntelliJ IDEA

What's New in IntelliJ IDEA 7.0

IntelliJ IDEA 7.0 delivers unparalleled support for multiple in-demand tools and technologies of today that our users have requested.
What is more, this latest version brings upgraded performance, more advanced usability, and greater user experience. In continuing its tradition, version 7 implements the highest attention to detail that is so needed in your daily development.

Spring and Hibernate Support

IntelliJ IDEA 7 ties Spring and Hibernate together, enabling even better, efficient and productive development of Java EE applications. Numerous new features for creating and modifying Spring and Hibernate code are also introduced.

Spring Support
  • Spring AOP support, with full coding assistance:
    • Smart code completion and highlighting
    • spring aop completion
    • AspectJ-aware code completion with syntax and error highlighting
    • spring aop completion aspec
    • Numerous quick-fixes
    • spring aop quick
    • Enhanced navigation with active gutter icons
    • spring aop nav clicked
  • p-namespace support for properties definition
  • Generating Hibernate mapping from data source structure
  • Coding assistance, including smart completion
  • Coding assistance, including smart completion
  • Highlighting, inspections and quick-fixes
  • Visual diagram for viewing dependencies
  • Visual diagram for viewing dependencies
  • Dedicated file set editor
  • Dedicated file set editor
Hibernate Support
  • Hibernate-Spring integration
  • Editable Hibernate entities relationship diagram
  • editable ER Diagram
  • Find Usages searches table and column names
  • Coding assistance with smart completion
  • Coding assistance with smart completion
  • Code inspections and quick-fixes
  • Code inspections and quick-fixes
  • Hibernate mapping structure view
  • Hibernate mapping structure view
  • Mapping IntelliJ IDEA configured datasources to Hibernate
  • Mapping IntelliJ IDEA configured datasources to Hibernate

Web and Enterprise Development

Project configuration
  • Facets (sub-module project structure) for GWT, Hibernate, JPA, JSF, Spring and Struts
  • Facet supports
Web Services Support

Smart code completion, aware of Web Services specifics, in:

  • XML code
  • Web Services XML Code complition
  • Java code
  • Web Services Completion Java Code complition
  • XML code with resolution of Java classes
  • XML code with resolution of Java classes
  • Numerous code inspections with quick-fixes, that work across Java and XML code
  • code inspections with quick-fixes
  • Smart navigation with Project and Structure views, plus active gutter icons
  • Smart navigation with Project and Structure views
  • Numerous refactorings for upgrading your code
  • Live templates and intention actions
  • One-click deployment of Web Services from Java classes, with generating all required code
  • Remote debugging with supported application servers
  • Automatic code generation:
    • WSDL or WADL from Java code
    • Java code from WSDL or WADL
    • Java code from XMLBeans
    • XMLBeans from Java code
    • XML documents from XSD schema
    • XSD schema from XML documents
HTML, XHTML, XML Support Improvement
  • Breadcrumb navigation bar for faster navigation across HTML/XHTML, JSP
  • XML Crumbs
  • HTML Crumbs
  • Code inspections for HTML code cross-browser compatibility
  • HTML Quicks Mode

Performance Improvements

  • IDE startup speed greatly improved
  • JSP editing speed accelerated
  • More operations performed in background (Find Usages, VCS update etc.)
  • Improved performance on multi-core CPUs
  • Faster XML reformatting
  • Faster project loading
  • Improved files synchronization speed
  • Revamped Local History engine

Eclipse and Maven Integration

IntelliJ IDEA 7 features Eclipse interoperability, enabling the mixed development team benefit from the use of both IDE. Projects can be imported to or from Eclipse, or synchronized so that the code base is shared between two environments.

  • Import (creating IntelliJ IDEA .iml and .ipr files from existing Eclipse projects)
  • Export (creating Eclipse project files from existing IDEA .iml files)
  • Synchronization (module dependencies stored directly in Eclipse-compatible .classpath file)
  • Import Maven projects to IntelliJ IDEA

Maven build configurations can also be imported to IntelliJ IDEA projects, plus arbitrary goals can be executed before or after make, run or debug. IntelliJ IDEA also provides coding assistance features for maven pom.xml

  • Importing Maven projects to IntelliJ IDEA with automatic artifacts download
  • Executing and managing Maven Goals

VCS Integration

Team productivity is boosted with enhanced version control integration, beefed up with notable new Perforce and Rational ClearCase support features. Unified VCS functionality usability is improved with new views and notifications.

Improved VCS Integration
  • Rational ClearCase integration, with UCM support
  • new VCS support
  • Perforce offline mode
  • Better Visual SourceSafe integration
    • Automatic add/remove when creating/deleting a file
    • New file statuses: hijacked (modified without checkout) and obsolete (file modified locally but already removed from the repository)
    • History of changes
    • Improved performance
  • Enhanced StarTeam integration
  • Shelve Changes (temporarily remove from code and save as patch, then restore later)
  • Shelve Changes
  • Per-project mapping of VCS roots to project directories (instead of module-based VCS config)
  • Autodetecting project VCS configuration
  • File status change notifications
  • VCS Popup
  • Committed and incoming changes view
  • Handling Update Project results as change lists
  • Improved issue tracker navigation from checkin comments
Improved Local History

Create/Apply Patch

  • From the Local History dialog you can now quickly create a patch between:
    • Current revision and another arbitrary revision
    • Two arbitrary revisions
    • Files affected by selected action
    • Create patch from local history dialogs
  • Better Local History performance

Dynamic Languages



Ruby Support

Ruby is currently available as fully functional Beta and is scheduled for release within coming weeks. You can get it from http://plugins.jetbrains.com/plugin/?id=1293 or via IntelliJ IDEA Plug-in Manager.

  • Smart, scope based JRuby-aware Ruby code completion
  • Smart, scope based JRuby-aware Ruby code completion
  • Automatic completion of built-in methods
  • Smart Ruby statements completion
  • Completion and automatic resolution in require and load calls
  • Ruby code syntax and error highlighting, with brace matching and folding
  • Ruby code syntax and error highlighting, with brace matching and folding
  • Code style support with automatic formatting, indentation and TODO marks
  • On-the-fly Ruby code analysis with quick-fixes
  • On-the-fly Ruby code analysis with quick-fixes
  • JRuby and Ruby-aware intention actions
  • JRuby and Ruby-aware intention actions
  • Advanced Ruby code and project navigation
  • Ruby-aware structure view, quick structure popup
  • Go to Ruby class, file, symbol and declaration actions
  • Go to Ruby class, file, symbol and declaration actions
  • Quick declaration view, context and method parameter info
  • Quick declaration view, context and method parameter info
  • Quick overriding of classes, modules and methods with active navigation gutters
  • Quick overriding of classes, modules and methods with active navigation gutters
  • Multiple ruby-aware refactorings
  • Ruby code usage search for local variables, method parameters, class fields and constants
  • Ruby code usage search for local variables, method parameters, class fields and constants
  • Dedicated Ruby run configuration and quick script execution
  • JRuby support for running Ruby applications, with cross-resolution of classes between Ruby and Java
  • Unit testing support with quick tests launching for a specified method, class or set of tests
  • Stack trace analysis with one-click Ruby code navigation
  • Ruby code documentation lookup with hyperlinks and navigation
  • Ruby code documentation lookup with hyperlinks and navigation
  • More than 50 Ruby and RSpec live templates
  • Shortcuts settings for rake tasks, generators, RSpec, etc
  • Plugin page with plugin version, build and useful links in setting
Groovy Support

JetGroovy is currently available as fully functional Beta and is scheduled for release within coming weeks. You can get it from http://plugins.jetbrains.com/plugin/?id=1524 or via IntelliJ IDEA Plug-in Manager.

  • Context-sensitive, type inference-aware code completion for:
    • Methods, fields, classes and keywords
    • Default methods
    • Swing builder methods and Swing properties
  • Cross-resolution between Groovy and Java classes, methods and fields
  • Smart code navigation assistance with structure view, class and usage search
  • Syntax and error highlighting
  •  
  • Code formatting, folding and Surround With templates
  • Numerous code inspections and quick-fixes:
    • Groovy-aware refactorings and imports optimization
    • Advanced compiler and debugger, which understand both Groovy and Java code
    • Dedicated Grails SDK configuration for running and debugging Grails applications
    • Built-in Grails generators for:
      • Controllers
      • Views
      • Domain classes
      • Jobs
      • Scripts
      • Services
      • Taglibs
  • Grails Server Pages (GSP) support
  • Groovy coding assistance available in GSP
  • Grails application ER diagram

Debugger

  • Flexible toolwindow layout with simultaneous Frame and Watches view
  • debug Flexible Tool Window
  • Smart step (selection of the method to step into in the complex expression)
  • Smart Step Into
  • Function return value display (JDK 1.6)
  • Automatic mode for Variables view
  • Recursive calls highlighting in Frames view
  • Mark instance feature (a tag can be assigned to arbitrary instance, visible everywhere the instance appears including Stack view)

Project Configuration

Reworked Project Wizard and Project Settings now provide better flexibility and transparency in creating configuring your projects. Seamless migration and coexistence with Eclipse and Maven now boosts team productivity. New project configuration storage format improves collaboration and project sharing between team members.

New Project Settings and Project Wizard user interface, plus

  • Project can be created from existing sources
  • Libraries and Java EE Facets are configured automatically
  • Module structure is detected on dependency basis

Dependency Structure Matrix (DSM)

IntelliJ IDEA 7 introduces the revolutionary approach to analyzing the dependencies between project classes — the Dependency Structure Matrix (DSM).

DSM was designed to help analyzing the structure of complex projects, with thousands of Java classes. DSM reflects the real dependencies between classes in a project, showing them sorted in a way that lets you get the overall picture at a glance, and then perform a deep drill-down in just few clicks.

You can quickly focus on any part of the project, to find cyclic dependencies, unused classes and so on. DSM is integrated with advanced code navigation so and enables you to jump directly to the code which requires your attention. A rich set of code refactorings is provided for resolving the problems.

General DSM view
General DSM view
  1. The selection highlights classes which dependencies are being viewed.
  2. The ellipsis in cell indicates there are more than 99 dependencies between maven-core and maven-project.
  3. The column shows the dependencies of the selected row.
  4. The row shows the dependencies on the selected row.
  5. Cell indicates that maven-project has 16 dependencies on maven-settings.
  6. More dependencies — brighter color.
Automatic cyclic dependency detection
Automatic cyclic dependency detection
Multiple cross-class dependencies can be analyzed in one view
Multiple cross-class dependencies analysis
Find usages and with navigation integrated for one-click jumping to the underlying code
Find usages

Refactoring

  • Embedded RefactorX plugin with 50+ XML refactorings
    • Rename tags and attributes
    • Wrap and unwrap tags
    • Replace attributes with tags and vice versa
    • Convert tags to attributes
    • Safely add and remove subtags and attributes
    • And more
  • Drag and Drop support in Project View for Copy and Move refactorings
  • Create inner class from usage
  • New refactorings: Inline class to anonymous and Move class to inner
  • Introduce parameter refactoring now removes parameters that are no longer used

Other Productivity & Usability features

Navigation and Search
  • Support for scopes
  • Find in path for scopes
  • Find in zipped sources
  • Find in library sources
  • Improved search in editor with search item completion
  • Quick Find Editor
Java ME Support
  • Generating of Ant scripts
  • i18n support
Miscellaneous Improvements
  • Hide side button to hide all toolwindows on arbitrary IDE window side
  • Draggable tool window buttons
  • New tool window
  • Popup toolbars
  • Multiple usability improvements