Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Wrap attributes when necessary to maintain line width #547

@OldStarchy

Description

@OldStarchy

Is your feature request related to a problem? Please describe.

Moving attributes to their own lines should only be done if a single line would break the character limit.

Describe the solution you'd like

Configure max line width to (eg.) 120 and have attributes move to own lines only when necessary.

Describe alternatives you've considered

The "Max attribute characters per line" doesn't count initial indentation so can't be used for this. Also I don't understand how to make this setting do anything.

Additional context

The combo of settings "Attribute tolerance" "Max attributes per line" and "Max attribute characters per line" seem overly complex and confusing. I don't understand why there's so many configurations for this, and in the end its still unable to format the attributes nicely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions