Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Welcome to the feature gallerydescription/userguide.

NOTE Some features may be available only in yet unreleased versions, please see Struts2PluginChangeNotes for more information.

Status:
(minus) planned
(plus) in progress
(tick) done
(question) future planning

...

(tick) "Go To Action/Package" by name

Press CTRLCtrl+SHIFTShift+ALTAlt+N to quickly navigate to any Action/Package by simply entering its name:

...

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:

...

(plus) Rename refactoring/Find Usages for all referencable elements

Need to refactor your S2 application? Just use the Rename refactoring (Shift+F6) or perform Find Usages (Alt+F7 or Ctrl+Alt+F7):

Image Added

(plus) Navigation to referenced elements/JAVA-classes
Simply Ctrl-click (or press Ctrl+B) on any element to navigate to its declaration - or just take a peek using Quick Definition Lookup (Ctrl+Shift+I).

(plus) Highlighting of configuration/reference errors
(plus) Quickfixes
(minus) struts.xml: restrict resolving to result location depending on result-type (e.g. Velocity)
(minus) Various inspections for common configuration errors
(tick) Structure View

...

(tick) Navigation to Action-declaration in struts.xml

Simply click on the action icon in the left editor bar to quickly open up the corresponding entry(ies) in your struts.xml:

Image Added

(minus) Highlight unused Actions, Quickfixes: Delete, Map in struts.xml
(minus) Autocompletion/navigation to result-declaration in struts.xml

...

(plus) Navigation to Action-declaration/class

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:

Image Added

(minus) Autocompletion/navigation for form properties
(plus) Autocompletion/navigation for all suitable Tag attributes
(tick) JavaScript support for suitable tags (JavaScript plugin must be enabled)
(tick) CSS support for suitable tags

...