Some of the record declarations are already too long, e.g.:
public record DocProperty(string Name, string Declaration, AccessModifier Access, DocComment Comment) : DocMember(Name, Declaration, Access, Comment)
We should consider adding some truncating logic that will check if the resulting definition is too long. For instance, in the snippet above there could be a newline inserted like this:
public record DocProperty(string Name, string Declaration, AccessModifier Access, DocComment Comment)
: DocMember(Name, Declaration, Access, Comment)
Note: we need to consider leading spaces count in order to format the new line correctly.
Some of the
recorddeclarations are already too long, e.g.:We should consider adding some truncating logic that will check if the resulting definition is too long. For instance, in the snippet above there could be a newline inserted like this:
Note: we need to consider leading spaces count in order to format the new line correctly.