Wednesday, February 08, 2012

11.1 EAP started

The first EAP of 11.1 is out and brings quite some new features and smaller additions. Please check out the detailed changelog for more information.


Oh, and did you check out the latest screencast showing new Validator integration features yet?

Struts 2.3.1.x
Integration has been updated to reflect new DTDs etc.


Facet/Struts Library
A couple of small improvements here, Struts library will now also be presented with dedicated name and gear wheel throughout project/library editor:



JSP Tags
A couple of additions (<s:a> tag namely) as well as long requested "method" support for tags referencing <action>s.

<param> support in <interceptor-ref>
A long standing feature request: support nested params when referencing interceptors in own interceptor-stack.

First, reference desired interceptor:
Then its properties will be available:

Ofcourse, all navigation (Find Usages, Goto Declaration, ...) and refactoring (renaming) features work here as well.

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


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:



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

OGNL
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:


Actions
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 @jetbrains.tv: 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":

Sunday, December 12, 2010

Struts 2 plugin for IntelliJ IDEA 10 - roundup

Now that IntelliJ IDEA 10 has been officially released, here's a quick roundup of the last-minute changes.

I18N-support in JSPs
Basic support for supporting .properties-files based I18N is now available in <s:text>



Ofcourse, refactoring/usage search of keys etc. will work as well.

Restrict resolving in <result>
The list of completion values will now correctly be restricted to the defined/effective result-type. Also fixed: in some conditions result-types defined as "default" were not determined correctly.
Additionally the "builtin" result types plainText and redirect are now supported as well.

Please consult the full list of changes for more details. Stay tuned for more in upcoming 10.x releases..

PS: The WIKI-page describing all features has been updated accordingly.

Sunday, October 31, 2010

IDEA X EAP 98.231

Just a quick note: the latest EAP contains a couple of important bugfixes for Struts 2 plugin as well as one (but useful new feature): support of "Bang!" notation in Action-URLs on JSPs (e.g. /myAction!method.action).

Download latest EAP from here, full changelist available here.

Thursday, May 27, 2010

struts2-jquery V2.0.0

The latest Maia EAP for upcoming 9.0.3 release is available - supporting the following new tags/attributes from struts2-jquery plugin V2.0.0:
- <sj:autocompleter>, <sj:checkboxlist>, <sj:radio>: all common attributes
- <sj:a> and <sj:submit>: new "button[...]" attributes
- <sj:head>: "jquerytheme" now has full list of all official jQuery-themes

Also missing support for <sj:accordionitem> has been added.

PS: Support for V2.1.0 is on the way...

Thursday, March 18, 2010

struts2-jquery plugin support

The latest Maia EAP build contains a bunch new features to support development with the popular struts2-jquery plugin.

Highlighting/autocompletion for nearly all taglib attributes:
Find Usages of referenced HTML-elements:
Highlighting/autocompletion for CSS attribute values:
Highlight "pseudo-JS" attribute values:
Give it a try and enjoy increased productivity! Your feedback is welcome.

Tuesday, December 08, 2009

IntelliJ IDEA 9 ("Maia") goes final

..and there's a small goodie - coming in last-minute - for all your Struts2-fans: support for @InterceptorRef

Tuesday, October 27, 2009

Maia Ultimate EAP 90.122

Just one day passed after last EAP release, but here's a nice addition:

support Find Usages for elements in struts.xml used by Convention plugin annotation values:

Monday, October 26, 2009

Maia Ultimate EAP 90.116

More support for Convention plugin annotations (now also working in package-info.java:
Stay tuned for much more Convention plugin support in the next EAP builds...

Thursday, October 15, 2009

It's there - first Maia Ultimate EAP

If you didn't read the latest news about IntelliJ IDEA being released as open-source version, please read the official announcement.

The first Maia Ultimate Edition EAP brings some bugfixes as well as some smaller improvements.

Also support for Convention plugin is starting (little by little...):

The full changelist is available from here.

PS: You also might want to have a look at the revamped Features/Userguide - now with more screenshots.

Monday, September 14, 2009

Maia 10762: Performance & configuration

The latest Maia EAP comes with massive performance improvements, most notably for big projects (many Actions).
This applies to the following functionality:
- editor highlighting (JSPs containing links to Actions, struts.xml-files)
- autocompletion for Action-name/path


... and some sophisticated support for configuring Convention plugin:

Autocompletion/navigation for struts.convention.default.parent.package

as well as struts.convention.relative.result.types


All detailed release notes are available from here.