Skip to content

A idea-plugin for Java to mapping your own object to other object quickly.

Notifications You must be signed in to change notification settings

dartick/plugin-mapping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plugin-mapping

A idea-plugin for Java to mapping your own object to other object quickly.

Install

To install a plugin from the disk in idea

  1. Open the Settings/Preferences dialog box and select Plugins on the left pane.
  2. On the right pane of the dialog, click the Install plugin from disk button.
  3. 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.
  4. Click Apply button of the Settings/Preferences dialog.
  5. Following the system prompt that appears, restart IntelliJ IDEA to activate the installed plugin, or postpone it, at your choice.

Usage

  1. This plugin generates code from right click 'Generate...' menu

Generate

  1. Select mode. Now only supporting NORMAL mode.

Select Mode

  1. Choose origin class and destination class for mapping.

Choose Class

  1. Select template and edit it. Also you can visible mapping fields.

Mapping

  1. Finished.

Finished

Templates

All the templates could simply edit by File Template which idea has supported.

  1. On the main menu, choose File | Settings.
  2. On the Editor | File and Code Templates
  3. Add template name with prefix "Mapping Helper ";

Thanks

About

A idea-plugin for Java to mapping your own object to other object quickly.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages