ModelBoiler icon indicating copy to clipboard operation
ModelBoiler copied to clipboard

Setting for auto-closing model code selection

Open dominik-hadl opened this issue 8 years ago • 0 comments

Currently selecting this code and generating boilerplate with Model Boiler won't work:

struct MyModel {
    var name = ""
    var id = 0

However, this will:

struct MyModel {
    var name = ""
    var id = 0
}

There should be a selectable option/setting that could allow Model Boiler to automatically insert closing brackets at the end of selection if it fails generating code the first time.

This is especially handy when you want to leave out some parts of your model like nested structs/classes that you don't want model code generated for.

dominik-hadl avatar Mar 30 '16 11:03 dominik-hadl