GenerateToString is a action plugin for IDEA that is used to create or update java classes toString() method. The reason is valuebeans usually needs to dump their fieldvalues for debug purpose, and it's tedious to write the dump code for this. So this action plugin generates the code to dump all the fields in a simple manner.
The plugin uses Velocity Template Language to generate the code, so it's very flexible if you want your toString method to be a little different.
Renamed field $field.transient to $field.modifierTransiet.
Added many new varaibles to velocity context.
Integrated code contributions from Igor Levit:
- Refactored code to use ConflictResultionPolicy pattern insteed of enumeration for options
- A better UI for the settings
- The "Always overwrite" option is now a more generic "Always apply default resolution policy"
- The action is disabled in menu's for non javafiles...