MappingGenerator offers a set of code actions that allow for automatic completion of initialization blocks. Those refactorings are available in empty initialization blocks and allow to complete them in the following ways:
Initialize with local variables code action, you can complete the initialization block by automatically assigning variables available in the current scope to initialized object fields and properties based on matching conventions.
⭐ MappingGenerator in premium version allows for tweaking initialization block with UI Configurator.
Initialize with lambda parameter you map the lambda parameter to the initialized object:
⭐ MappingGenerator in premium version allows for tweaking lambda parameter mapping to initialized object with UI Configurator.
Initialize with sample values option allows for quick initialization block scaffolding by assigning sample values to the initialized object fields and properties: