Wednesday, December 14, 2011

IDEA 11 - Updated documentation

Now that IDEA 11 is finally out the documentation page has seen an update. Also the dedicated page for OGNL support has been overhauled, please check it to make best of these new features.

Did you check the Struts 2 screencasts yet (see documentation link above)? There are more to come to highlight the new features in IDEA 11 soon - stay tuned.

Work for upcoming 11.1 release has already started, please check back here to see when EAP is released.

Friday, December 02, 2011

IntelliJ IDEA 10.5.3: fixes & backports

Just before IDEA 11 goes live, here's quick update release for everyone still on IDEA 10. You will be pleased to know that a few features from upcoming IDEA 11 release have been backported, please see the release notes for details.

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 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.

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.

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.

Friday, October 21, 2011

Nika EAP 110.187: Action properties & Spellchecking

Amongst the usual smaller bug fixes and improvements (full changelog) this EAP release contains the following new functionality: 

Action properties: <result>
Using dynamic URLs containing action properties as parameters?

Voilà, here's your autocompletion, refactoring & navigation support:

Using good and correctly spelled names is important. IDEA supports this out of the box with its integrated spellchecker - now augmented with a custom dictionary containing all Struts 2 specific words and acronyms (45 to be exact).
No more (irritating) "typos" in freemarker, <s:actionerror>, .. Ofcourse, suggestions for missing entries are more than welcome!

Tuesday, September 20, 2011

IntelliJ IDEA 11 "Nika" - First EAP

Finally, the first EAP release is available. This post only shows the most prominent new features, as always the full details are available on the changelog.

Big news: IDEA 11 will get full OGNL language support. Not only will this bring extended highlighting of your expressions, but also "intelligent" editing/navigation support - just like in EL-expressions. Please see the full details of current support at the dedicated page.

Action class properties
Action class properties will be resolved and completed in many more places - JSP tags, validation.xml, ...

Ofcourse, Rename refactoring and Find Usages is fully supported:

You can now use "Go To | Related File" to quickly navigate from your Action-class to any result file(s) as well as -declarations in struts.xml. Also any related ActionClass-validation.xml files can now be reached with this shortcut.

I18N support
Support for Properties-based I18N has been extended to validation.xml. And IDEA 11 now supports Properties in XML-format as well.

Tuesday, May 17, 2011

First screencast

First screencast showing basic navigation and autocompletion features is now online Struts 2: Navigation and Autocompletion

Your suggestions and feedback is welcome, more videos are to follow..

Wednesday, April 20, 2011

Wednesday, April 06, 2011

10.5 EAP - Intelligent Navigation

The latest 10.5 EAP starts with two very powerful new navigation aids:

Go To: Related File
Did you already try the new "Go To -> Related File" menu-entry in IDEA's 10.5? Struts 2 plugin now supports this very helpful action for (web-)files used in <result>.

Go To Result
Also the other way round is now available: just click on the "result" icon from your action's method(s) to quickly open any associated result.

Now you can quickly jump forth and back between your JSP/VM/FTL-file, Action-class and struts.xml in any direction.

Please see here for a detailed list of all changes.

Friday, January 14, 2011

10.0.2 EAP - News

A lot of bugfixes are included in this release - most notably the "flickering" icons are now "stable". Not to mention a lot of little (performance) improvements.

Please see the change notes for full details.

Velocity support
Support for Velocity-driven apps is in development and catching up with the features you already know from Freemarker-support.

Add S2 macros:

Resolve global variables:

.. and their properties:

And - of course - proper resolving of <result> with type "velocity":