A bundled dictionary providing Struts-specific words and acronyms integrates with IDEA's builtin spellchecker.
Recognize Struts related configuration files /classes or code at a glance throughout the IDE (Project/Packages View, Editor tabs, Autocompletion, ..…):
Please see this screencast to see it "in action" .Auto-completion (a small part only!).
CTRL+Space) is available for virtually all tags and attributes, just give it a try:
Rename refactoring/Find Usages
Need to refactor your S2 application? No more manual search and replace - just use Rename refactoring (
Shift+F6) or perform Find Usages (
Alt+F7 or /
Navigation to referenced elements
Ctrl-click (or press
Ctrl+B) on any element to navigate to its declaration - or take a peek without leaving the current editor using Quick Definition Lookup (
Highlighting of configuration/reference errors
Completion will only show resources relevant for the given (or inherited) result type.
Highlight common configuration errors or possible problems on-the-fly - while you're editing. Catch the bugs before time-consuming deploy & manual-test.
Visually groups all relevant info with Autoscroll from/to source. Searching Hint: searching for something in the tree? Just start typing its name to find it.
: Pageflow graph
Graph of all actions and results makes it easy to understand the structure of your application.
Autocompletion/Navigation to Action-class properties in
"Navigate -> Related File" from Action-class to corresponding
Show validation.xml node(s) under corresponding Action-class (like GUI-Designer forms)
Simply click on the action icon in the left editor bar to quickly open up the corresponding mapping(s) in
IDEA 8.1.1+: also for Groovy support added
Navigate to result
Use the gutter icon (or use Navigate->Related File) to directly navigate to any result(s) from your action method:
Navigation to Action-declaration/class
Click on the Action-class icon to quickly open the corresponding JAVA/GroovyAction-class or Ctrl+click on the "action"-attribute to go to the open its
Autocompletion/navigation for form properties
Form properties will be autocompleted/resolved in "surrounding" Action class. Ofcourse, rename refactoring and finding usages is supported here as well .- no more manual search and replace necessary when updating your forms!
Autocompletion/navigation for other tags
Make sure to include
(plugin "Spring Support" must be enabled and Spring facet configured setup properly)
Please see this screencast to see Spring integration "in action".
Autocompletion/navigation/usage search in annotations (WIP):
Tiles 2 plugin
(plugin "Struts 1.x" must be enabled)
struts2-tiles-plugin.jar must be present as well as Tiles libraries. Configured
tiles.xml-files will be set automatically as described in http://struts.apache.org/2.x/docs/tiles-plugin.html.
(plugin "Velocity support" must be enabled)
Add all global macros (
struts.vm in struts2-core.jar) automatically.
Autocomplete all global variables.
Blog post incl. with screen-shots
Provides autocompletion, navigation for JSP tags.
Blog post showing off some features