Skip to content

A plugin for IntelliJ IDEs to enhance the efficiency of code writing by automatically generating boilerplate code.

License

Notifications You must be signed in to change notification settings

Boiler-Craft/java-boiler-craft

Repository files navigation

java-boiler-craft plugin

This project aims to enhance the efficiency of code writing by automatically generating boilerplate code. The main feature of this plugin

  • generation of boilerplate code for MockMvc tests for RestDocs.
  • generate constructors and builder patterns for a given class.

When you input a class name and uses a dot, or on the Generate menu, in test scope, you can select RestController class and methods. Then the plugin automatically generates boilerplate code for MockMvc tests for RestDocs.

And You can choose between 'All Args Constructor' and 'Builder Completion'. If 'All Args Constructor' is selected, a constructor containing all parameters is automatically generated. If 'Builder Completion' is selected, the code with the builder pattern is generated.

This eliminates the need for the user to manually write each constructor or implement the builder pattern.

Usage

Mock mvc Test and RestDocs boilerplate generator

2023-12-12 15-05-28

2023-12-08 18-24-03

Builder and Constructor completion

use_example

How to install

this plugin is registered on the intellij marketplace and is under review.

Contributors

Thank you to all our contributors!

Maintainers

About

A plugin for IntelliJ IDEs to enhance the efficiency of code writing by automatically generating boilerplate code.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages