IntelliJ IDEA 8 王者归来
期待已久的IntelliJ IDEA 8终于出来了,IDEA 8 和以往的版本相比发生了翻天覆地的变化,这主要体现在一下几个方面:
1、更贴切实际开发者的需要,强化对开源的支持(支持struts2、Spring2.5、Hiberante3...)
2、更加快捷方便的部署与测试(众多的测试插件支持)。
3、对插件的管理更科学,将非常优秀的插件与产品绑定发布,方便了开发者(Axis2等Web Service支持等)。
4、运行速度相对7和6都有所进步。
5、功能更加全面,强化了J2EE的开发,有了IDEA,别无他求。
目前还不是Release版,估计也快了。
下面官方网站上的简要介绍:
A first look at IntelliJ IDEA 8, based on a newly redesigned and rock-solid platform, which takes stability and performance of the IDE to a whole new level.
IntelliJ IDEA 8 keeps up with the ever-growing demand for technologies, frameworks and languages support while broadening the possibilities for developing rich, complex solutions that adapt to todays fast-paced environment.
Greater Performance
JBoss Seam
Debuggers for JavaScript and Flex
Flex Code Editing
Struts 2
Spring 2.5
Support for SQL-92 and MySQL
FreeMarker and Velocity
GWT 1.5
REST WebServices
Core Java Development
HTML/JSP
- Team Foundation Server integration
- New Java refactorings from former
Refactor-J - Improved Groovy support, with Grails 1.0.3 and new refactorings
- Improved Ruby support, with Ruby debugger
- Scala support
- Python support
- Flexible settings storage with IntelliJ IDEA Server
Available in Milestone 1 Release
Currently in development
With version 8 you'll enjoy a smoother, faster and more effective development process. Take advantage of its famous productivity-boosting features, as well as the native support of every technology and language you need all tied together in one robust, extensible IDE.
In this milestone release you'll find the fully-supported JBoss Seam, Struts 2, FreeMarker, Velocity, Spring 2.5, smart debuggers for Javascript and Flex, JetBrains' own code coverage engine, support for multiple dialects of the SQL language, REST WebServices, and countless other improvements and additions, including new intention actions, quick-fixes, code inspections, greater performance and more stability than ever before.
Greater Performance
IntelliJ IDEA is based on an all-new platform that provides better performance by accelerating the file system operations via the intellectual caching engine, and boosts overall IDE speed with optimized memory management and the new, extensible and efficient data indexing engine. Plus, IntelliJ IDEA's performance on multiprocessor and multicore systems is better than ever!
JBoss Seam
IntelliJ IDEA 8 provides dedicated support for JBoss Seam out-of-the-box, with comprehensive facilities for full-cycle development of Seam applications.
Seam support includes:
- Coding assistance with smart completion
- Syntax and annotation highlighting
- Wide range of Seam-aware code inspections, plus quick-fixes
- Visual editors for page flow and page navigation rules, including Seam components dependencies graph
- Advanced navigation with dedicated structure views
- Seam-specific nodes in Project View
- Support for Seam elements (annotations, conversations, EL, observers, etc)
- Seam-aware Find Usages and project navigation actions
- All of the IntelliJ IDEA automatic refactorings are Seam-aware
Debuggers for JavaScript and Flex
IntelliJ IDEA's debugger now supports JavaScript and Flex debugging with a complete range of features — watches, conditional breakpoints, dependent breakpoints, expression evaluation and more.
- Breakpoints in HTML, JavaScript/ActionScript and JSP/MXML files
- Customizable breakpoint properties: suspend mode, conditions, pass count and more
- Frames, variables and watches views
- Runtime evaluation of JavaScript expressions
Flex Code Editing
IntelliJ IDEA ActionScript and MXML editor is beefed up with new features like implement/override methods, generate accessors and constructors, auto-import and optimize imports, etc. IntelliJ IDEA 8 also supports Flash 10 ActionScript generics.
Struts 2
Version 8 offers better Struts support, extended to fully support Struts 2 via the full range of productivity-boosting features:
- Configuration via dedicated Struts 2 facet
- Struts 2 facet includes the fileset manager, library validator and is capable of automatically detecting the configuration settings
- Dedicated Struts 2 structure tool windows
- Multiple code inspections that spot Struts 2-specific code issues
- Support for inplace Javascript and CSS code
- Coding assistance with smart completion
- Struts 2-aware project navigation across Java, JSP and XML files
- Struts 2-ready refactorings
Click to enlarge
Spring 2.5
Spring support has been upgraded with version 2.5 and a set of new and improved features.
- Spring WebFlow support, including visual designer and coding assistance in both XML configuration files and Java annotations
- Support for Spring 2.5 stereotypes with qualifiers (@Component, @Service, @Repository, @Controller, @Qualifier)
- Support for Spring 2.5 autowiring
- More Spring model code inspections, with automatic quick-fixes
- Optimized dependencies diagram
Support for SQL-92 and MySQL
IntelliJ IDEA now fully supports SQL scripts with the complete range of its coding assistance features: smart completion for keywords, table and column names, syntax and error highlighting and more. Plus, Rename refactoring also recognizes and updates table and column names. As of yet, IntelliJ IDEA supports generic SQL (SQL-92) and MySQL, more dialects will be available in the final release.
Dedicated SQL Console is provided to run SQL scripts right from the IDE.
FreeMarker and Velocity
IntelliJ IDEA now completely supports FreeMarker and Velocity through all of its productivity-boosting features: code completion, synatx and error highlighting, implicit variable declarations in comments, parameter info and quick documentation, and the others. Moreover, the complete support is provided for HTML and CSS code embedded in the templates.
GWT 1.5
GWT support has been extended to GWT 1.5, with new code inspections, annotations, quick-fixes and improved coding assistance, including smart completion which now recognizes the
@Key annotation.
![](http://www.jetbrains.com/idea/features/screenshots/80/gwtObsoleteTagInspection.png)
GWT projects navigation has been improved: you can jump between corresponding synchronous and asynchronous methods.
REST WebServices
IntelliJ IDEA support for WebServices has been extended with Representational State Transfer (REST) WebServices, integrated through a set of its productivity-boosting features to let you easily and effectively write, debug and deploy REST WebServices applications. IntelliJ IDEA supports version 0.8 of the JSR-311 specification and its reference implementation, Jersey.
- Coding assistance with code completion and syntax highlighting
- Multiple on-the-fly code inspections with instant quick-fixes
- Dedicated tool window for live debugging of the service with GET, POST, DELETE, PUT and HEAD requests. It allows you to customize requests with parametes, support proxies and is capable of generating URL patterns from Java code.
- Automatic generation of WADL descriptors from REST WebServices Java code
Core Java Development
- The new code coverage engine lets you track specific tests covering each line of the code. Per-branch coverage information is collected and analyzed, letting you see how many times each condition branch was executed.
- Per-file encoding support
Configure file encoding individually for a file, set of files, or an entire project. - Unwrap/Remove action
Quickly extract or remove statements from for, foreach, if..elseif...else, try...catch...finally, while...do, do...while, and lone braces. - Revert Committed Changes action
Revert any arbitrary code change, commited by you or your colleagues, by applying a reverse patch to the current source code - Use existing implementation quick-fix
Invoke it on an abstract method to copy an existing implementation to places where implementation is missing. - The grouping by usage type in the Find Usages toolwindow has been improved and now detects recursive and delegating method calls, allowing you to quicker find the usages you are looking for.
- Google Guice dependency injection framework is now supported, with a number of specific inspections and code generation actions.
- Unit testing support has been improved, with a new action for automatically creating tests for a class, and another action for navigating between a class and its tests.
- The project configuration now allows you to view all facets of your multi-module project in a single convenient view. You can also turn off facet autodetection for specific modules or facet types.
Click to enlarge - Thread dump analyzer
Analyze largest thread dumps in a very convenient way.
Click to enlarge - Extract Method Object refactoring, a more powerful alternative to Extract Method, can be used when you have, multiple return values in an extracted method, or too many parameters passed to it.
- Type Migration refactoring allows you to automatically propagate changes across your codebase when you want to change a filed type from one to another (e.g. from integer to string). It also lets automatically convert variable or method return type between arrays and collections.
- The smart code completion becomes even smarter. Pressing Ctrl-Shift-Space twice allows you to find values of the expected types which are "two steps away" (can be retrieved through a chained method call). It can also automatically insert conversions from collections to arrays and back.
HTML/JSP
- Improved Show Applied Styles tool window
Displays all the styles that apply to an arbitrary tag in HTML/XHTML or JSP/JSPX. - Automatic namespace import for XML, JSP and JSPX
Type a tag with an unbound namespace prefix, and IntelliJ IDEA offers a set of namespace choices that you can import.