Welcome to the feature description/userguide.
Ctrl+Shift+Alt+N (Go To -> Symbol) to quickly navigate to any Action/Package by simply entering its name (including wildcards):
Recognize Struts related files/classes at a glance throughout the IDE (Project/Packages View, Editor tabs, ..):
All plugin configuration settings are bundled in a dedicated facet. Simply attach a new Struts 2 facet to any existing module, create a fileset and add your struts.xml files from all auto-scanned configuration files in your project and the plugin is ready to work:
Group and manage your struts.xml files with an easy to use editor, providing maximum flexibility w/r to your project setup.
Spot setup errors easily, additionally providing a quickfix to add the current struts.xml-file in question to any existing fileset.
Existing struts.xml files are recognized upon opening your project and a new S2 facet is created automatically.
Auto-completion is available for virtually all tags and attributes, just give it a try:
Need to refactor your S2 application? Just use the Rename refactoring (
Shift+F6) or perform Find Usages (
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 (
Errors are highlighted immediately in the editor, additional validation is triggered for Make Project (see "Validation" tab in S2 facet for more options).
Visually groups all relevant info with Autoscroll from/to source you're used from IDEA:
Simply click on the action icon in the left editor bar to quickly open up the corresponding entry(ies) in your struts.xml:
Click on the Action-class icon to quickly open the corresponding JAVA-code or Ctrl+click on the "action"-attribute to go to the struts.xml-definition:
Autocompletion is available for most attributes with static values.
Define inline-styles (
cssStyle) or reference existing CSS classes (
Reference Spring beans in
<action> "class" (Spring plugin must be enabled and configured properly).
This could possibly become a plugin of its own.