I'm using fluent style for my setters and as soon as the line length has been exceeded, clang format is formating my code as requested.
But if the line is shorter, it aligns the setters in one line.
Is it possible to configure clang to allways format connected function calls?
Example:
no formating, if line is to short
add(ModelField(key_T::id).dataType(model::DataType::id).isMandatory(true).isVisible(false));
But if the code exeeds the columnLimit it formats properly
add(ModelField(key_T::name)
.dataType(model::DataType::text)
.isMandatory(true)
.minLength(1)
.isEditable(true)
.isSortable(true)
.isSearchable(true)
.description("a name"));