A idea-plugin for Java to mapping your own object to other object quickly.
- Download Releases
To install a plugin from the disk in idea
- Open the Settings/Preferences dialog box and select Plugins on the left pane.
- On the right pane of the dialog, click the Install plugin from disk button.
- In the dialog that opens, select the desired plugin. You can quickly locate and select the necessary file if you drag-and-drop the corresponding item from your file browser (Explorer, Finder, etc.) into the area where the tree is shown. Click OK to proceed.
- Click Apply button of the Settings/Preferences dialog.
- Following the system prompt that appears, restart IntelliJ IDEA to activate the installed plugin, or postpone it, at your choice.
- This plugin generates code from right click 'Generate...' menu
- Select mode. Now only supporting NORMAL mode.
- Choose origin class and destination class for mapping.
- Select template and edit it. Also you can visible mapping fields.
- Finished.
All the templates could simply edit by File Template which idea has supported.
- On the main menu, choose File | Settings.
- On the Editor | File and Code Templates
- Add template name with prefix "Mapping Helper ";
- Thanks the template plugin CodeMaker.