A modeless dialog like eclipse Find/Replace dialog, but it's designed for DOM based document modification.
Press hot-key Alt+M or select menu item "Edit"->"DOM search/replace..." can open this dialog. View demo
Base Informarion
The basic usage steps are:
- Input Search XML Source and Expected replace with, the plugin will generate script for modification.
- Search nodes - use xpath to search node in active editor
- The search result will list in middle area. You can Edit/Compare Element attribute, copy node value to clipboard or remove items in this list before press Replace All button.
View/Edit Script
This panel could let user modify generated script or save it to command. Press Alt+/ to get useful API hint
You can also config share functions to store your own script, they can be called in document modification.
Edit/Compare Element attribute
This dialog provide another kind of view for modify/compare attributes. For example: review all HTML input element in a JSP, ensure all name mapping to Java bean, adjust the field size... etc.