for IntelliJ IDEA

Compatible with  IntelliJ IDEA
1 150
Generating class fields and methods by custom templates for selected fields.
With this plugin you can create your own "Generate Action" (Alt+Insert) (e.g. like standart Getter/Setter generation).
Code will be generated by your own predefined template for this action.
You can create any number of actions.
Supported features:
  • Can be added custom generate-actions.
  • Generate fields by custom templates.
  • Generate methods by custom templates.
  • Generate getter-method if it need for your template.
  • Specifying generation template with vars from selected field context.

Default shortcuts:
  • Code -> Generate (Alt + Insert) -> [YourAction] - Generate fields and methods by template specified for selected action
  • Settings Menu (Ctrl+Alt+S) -> FuGen - Plugin properties

Please note: This plugin is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

Download plugin

Recent change notes

Added support for fields that have prefixes.
again, I think there is a bug, as it generate Boolean instead of boolean for getter and setter.
Hi again, also for fields with boolean type, it is better to support also isXXX() in addition to getXXX(). BR Ali
Thank you for your plugin. but Can you please add support so that only a template can create both getter and setter at once time. as now this thing can be done by two separate template for getter and for setter. BR Ali
Please  sign in  to leave a comment.