Diana First EAP Release Notes

Plugin Compatibility

Due to a major internal refactoring, we have made a significant number of backward incompatible changes to the plugin API. Please refer to Diana Plugin Migration Guide for help in updating existing third-party plugins.

Seam Support

1. Seam Facet and Seam Components Structure(Java EE)


 
2.  Alt-F7, Shift-F6 and EL everywhere

   

3. Inspections


 
 
4.  Conversations, Observers and many others
 
    
5. Pageflow Designer: inplace editing, DnD, Alt-F7, Shift-F6, F4 in graph

 
6. Pages Navigation Graph (DnD of web pages from ProjectStructure)

7.  etc.

FreeMarker Support

Parsing of .ftl files
Reference completion
Rename support
Implicit variables support:

 

JavaScript Debugging

Run configuration to debug local html files:

 

Browser opens in separate frame:

Breakpoints in html- and js-files:

Breakpoints dialog allows to change properies of breakpoint:

Debug toolwindow (frames, variables, watches):

Evaluate expression dialog:

Show value in tooltip on mouse over:

SQL Support

Per-file SQL Dialect Settings (See Per-file Encoding Support screenshot below).
SQL92 DDL and query and MySQL DDL dialects support.

DDL DataSource

JDBC API & iBatis XML SQL language injection

Reference navigation and highlighting.

Flex Support

1. New module type for Flex development:

 2. Flex SDK is added for Flex modules:


 3. Flex run configuration

4. Flex debugging:

 5. Package name and class name is checked to be the same as directory or file name respectively:


 

Per-file Encoding Support

You can configure file encoding individually for the file, all files in the directory, or all files in the project.
Settings are stored in the per-project configuration file which can be shared among the team and version controlled.

"Unwrap/Remove" action (delete enclosing statement)

You can use the action to quickly extract or remove statements from an enclosing statement (such as if, while, for, etc.).
The supported statements are: for, foreach, if..elseif...else, try...catch...finally, while...do, do...while, and lone braces.
The statements to be extracted are highlighted with blue, to be removed - with grey.

Unwrap Example:

The code before unwrapping the first else branch:

The code after unwrapping:

Remove Example:

The code before removing the first else branch:

The code after removing:

Struts 2

The Struts 2 plugin by Yann Cebron is now bundled. See here for more information on the plugin.

Other Improvements

"Revert Changes" action

Action in context menu of a committed changelist applies the reverse patch of that changelist to the current source code. Can be used to revert changes committed by any user, even if it's not the last checkin.

"Use existing implementation" quickfix

For an abstract method with some missing implementation, allows to copy one of the existing implementations to all the places where an implementation is missing. Invoked on the abstract method.

Highlighting of implicit parameters for anonymous classes

New Show Applied Styles window

Tag name completion in XML & JSP

Start a new tag and press Ctrl-Alt-Space:

Choose an item:

Namespace auto-import in XML & JSP

Type a tag with not bound namespace prefix:

Press Alt-Ins and choose a namespace:

Namespace declaration is inserted:

Labels

 
(None)
  1. Mar 22, 2008

    Boris Kirzner says:

    Are you planning to add Spring Web Flow support to Diana (in the same spirit as ...

    Are you planning to add Spring Web Flow support to Diana (in the same spirit as Seam support - flow designer, navigation graph etc) ?

    1. Mar 22, 2008

      Dmitry Jemerov says:

      We would like to, but we don't have a definite plan for this yet.

      We would like to, but we don't have a definite plan for this yet.

      1. Mar 24, 2008

        Anonymous says:

        I would give a \1 for this and since it is fairly similar to seam, you might get...

        I would give a +1 for this and since it is fairly similar to seam, you might get a lot of reuse.

        1. Mar 25, 2008

          Sergey Vasiliev says:

          Spring Webflow Designer is under construction and will be added soon

          Spring Webflow Designer is under construction and will be added soon

  2. Mar 23, 2008

    Anonymous says:

    Add Scala !!! (please)

    Add Scala !!! (please)

    1. Mar 23, 2008

      Dmitry Jemerov says:

      Our Scala plugin is developed independently, and most likely it won't be ready f...

      Our Scala plugin is developed independently, and most likely it won't be ready for bundling into IntelliJ IDEA by the time version 8 ships.

      1. Jun 24, 2008

        Anonymous says:

        \1
    2. Mar 29, 2008

      Anonymous says:

      1
    3. Apr 04, 2008

      Anonymous says:

      1 to scala support, or some snapshots would be nice.

      +1 to scala support, or some snapshots would be nice.

    4. Apr 10, 2008

      Anonymous says:

      1
    5. Apr 13, 2008

      Anonymous says:

      \42

      +42

    6. Apr 15, 2008

      Anonymous says:

      \1
      1. Apr 16, 2008

        Anonymous says:

        \1 for scala from me, too

        +1 for scala from me, too

    7. May 13, 2008

      Anonymous says:

      \1
      1. Aug 08, 2008

        Anonymous says:

        \1
        1. Aug 26, 2008

          Anonymous says:

          \1 I'm thinking of jumping back to Eclipse now that the eclipse scala plugin is ...

          +1 I'm thinking of jumping back to Eclipse now that the eclipse scala plugin is stable

          1. Aug 27, 2008

            Dmitry Jemerov says:

            http://plugins.intellij.net/plugin/?id=1347
  3. Mar 23, 2008

    Anonymous says:

    Any plans for Velocity templates? At least syntax highlight ...

    Any plans for Velocity templates? At least syntax highlight ...

    1. Mar 23, 2008

      Dmitry Jemerov says:

      Yes, Velocity is planned.

      Yes, Velocity is planned.

      1. Apr 10, 2008

        Anonymous says:

        Thanks...Thanks...

        Thanks...Thanks...

  4. Mar 23, 2008

    Erik Pragt says:

    Just a small note: I really like these releasenotes pages! Much better than the ...

    Just a small note: I really like these releasenotes pages! Much better than the Jira version. Really nice, thanks!

  5. Mar 24, 2008

    Anonymous says:

    Great to see support for JBoss Seam.

    Great to see support for JBoss Seam.

  6. Mar 24, 2008

    Anonymous says:

    Is there any plan for supporting Python?

    Is there any plan for supporting Python?

    1. Mar 24, 2008

      Dmitry Jemerov says:

      Yes, there is.

      Yes, there is.

      1. Apr 03, 2008

        Anonymous says:

        Would it be feature rich like the support you have for Ruby?

        Would it be feature rich like the support you have for Ruby?

        1. Apr 03, 2008

          Dmitry Jemerov says:

          We don't initially plan to support any Web frameworks (unlike the Ruby plugin wh...

          We don't initially plan to support any Web frameworks (unlike the Ruby plugin which supports Rails), but otherwise yes.

  7. Mar 24, 2008

    Anonymous says:

    Please consider adding Velocity support to IDEA \!

    Please consider adding Velocity support to IDEA !

    1. Mar 24, 2008

      Dmitry Jemerov says:

      Please consider reading existing comments to this page, as well as replies to th...

      Please consider reading existing comments to this page, as well as replies to them, before posting a new one.

  8. Mar 24, 2008

    Roman Swoszowski says:

    Will Flex debugger be available only for ActionScript (i.e. ActionScript classes...

    Will Flex debugger be available only for ActionScript (i.e. ActionScript classes and code within SCRIPT tag in mxml) or also for MXML itself (e.g. for debugging bindings) ?

  9. Mar 24, 2008

    David Levitt says:

    How about generated code support? \see IDEABKL2735 IDEABKL2874 \

    How about generated code support? [see IDEABKL-2735 IDEABKL-2874 ]

    1. Mar 25, 2008

      Dmitry Jemerov says:

      We still do not understand clearly enough what kind of support exactly is desire...

      We still do not understand clearly enough what kind of support exactly is desired. Many of the requested features are achievable with existing IDEA features (e.g. generated code can be attached as a library).

  10. Mar 24, 2008

    Anonymous says:

    Any support for Google Android planned?

    Any support for Google Android planned?

    1. Mar 25, 2008

      Dmitry Jemerov says:

      Not for now, but hopefully the existing plugin will see some updates.

      Not for now, but hopefully the existing plugin will see some updates.

  11. Mar 24, 2008

    Anonymous says:

    Will Drools will be supported? Or Jess? Need some rule engine support.

    Will Drools will be supported? Or Jess?

    Need some rule engine support.

    1. Mar 25, 2008

      Dmitry Jemerov says:

      No plans for anything like that yet. Thirdparty plugins are welcome.

      No plans for anything like that yet. Third-party plugins are welcome.

      1. Oct 25, 2008

        Anonymous says:

        Something new in this topic: plugin support for drools or jess? (i need rule eng...

        Something new in this topic: plugin support for drools or jess? (i need rule engine support, too)

  12. Mar 25, 2008

    frankie kuo says:

    will support Hibernate HQL editor in the features?

    will support Hibernate HQL editor in the features?

    1. Mar 25, 2008

      Dmitry Jemerov says:

      Hibernate HQL is fully supported in version 7.

      Hibernate HQL is fully supported in version 7.

  13. Mar 25, 2008

    Anonymous says:

    I would like to see expanded supported for domain specific languages. I know Jet...

    I would like to see expanded supported for domain specific languages. I know Jetbrains has worked on a very ambitious project to that effect, but perhaps it was before the market wanted it? Even simpler stuff like being able to provide a grammar for error and syntax highlighting would be fantastic.

    1. Mar 25, 2008

      Dmitry Jemerov says:

      Our very ambitious project is alive and well, thanks....

      Our very ambitious project is alive and well, thanks.

      Most of traditional grammar files are not a good fit for error highlighting because they don't really support error recovery: after one error they get into an error state and the rest of the file cannot be highlighted correctly. Hand-coded recursive descent parsers, which we use for our own language plugins, do not suffer from this problem, and our plugin API allows you to write such parsers for your own languages since IDEA version 5. So it's not exactly clear what additional support could be provided.

  14. Mar 26, 2008

    Anonymous says:

    Is the JSP WYSIWUG is planned in near future or distant future. At least a way t...

    Is the JSP WYSIWUG is planned in near future or distant future. At least a way to navigate between the JSP designer elements and it's JSP code counterpart like RAD is very much welcome. I have requested this for so many times.  Please include this in Diana.

    1. Mar 26, 2008

      Dmitry Jemerov says:

      No, JSP WYSIWYG is not planned for Diana. Can't say anything about versions beyo...

      No, JSP WYSIWYG is not planned for Diana. Can't say anything about versions beyond that.

      1. Apr 15, 2008

        Anonymous says:

        Here comes my "WYSIWYG, Please\!"

        Here comes my "WYSIWYG, Please!"