Tuesday, November 22, 2011

Nika Beta - OGNL formatting & performance

IntelliJ IDEA 11 ("Nika") goes BETA - grab it from here. For details and everything new in IDEA 11 see the detailed changelogs.

This release incorporates a couple of performance improvements as well as fixing some smaller bugs.

OGNL: formatting
NOTE: It seems this functionality is currently throwing exceptions. Please don't report them, watch http://youtrack.jetbrains.net/issue/IDEA-77159 concerning this known bug.

Now you can reformat your expressions instantly using the common "Reformat Code" functionality. To reformat, use intention "Edit OGNL fragment..." and run "Reformat Code" from there. 
Settings for required whitespaces will be taken from the ones defined for Java, there might be a dedicated formatter settings tab for OGNL later.







Wednesday, November 02, 2011

Nika 110.291

A new EAP build is available, please see full changelogs for details.

struts.xml
Resolving/navigation to referenced interceptors (e.g. <interceptor-ref>) is now working correctly in all cases and has been tightened for correctness. Expect more cleanup in this area very soon.


OGNL
Support for injecting OGNL into S2 taglib has been extended to Freemarker files.

Additionally, multiple OGNL expressions in one attribute are now supported: 
Also a lot of smaller editing/completion improvements have been added.