I ran into the case below on a record variant, the formatter considers the record small enough to be on one line but the document comment prevents it from being a single line so the formatter folds the rest of the children, I think in this case it would be a lot better for us to just break the record onto seperate lines completely. Or break the remaining keys onto a line and break the closing bracket onto a line.
Current formatting example:
enum rec Node<kType, rType> {
Internal{
/** */
keys: Array<kType>, children: Array<Node<kType, rType>>, },
}
I ran into the case below on a record variant, the formatter considers the record small enough to be on one line but the document comment prevents it from being a single line so the formatter folds the rest of the children, I think in this case it would be a lot better for us to just break the record onto seperate lines completely. Or break the remaining keys onto a line and break the closing bracket onto a line.
Current formatting example: