Skip to content

Keep newlines between members with docs #268

Description

@Shatur

If --reorder-code is enabled, it removes newlines between members. This causes 2 inconveniences:

  • Removes any member grouping.
  • Members with documentation look a bit odd:
## Display name of the attachment.
@export var name: String
## Name of the attachment's author.
@export var author: String
## License under which the attachment is distributed.
@export var license: String

I'd suggest to preserve the newlines between members. And I'd probably always force a newline between members with docs 🤔

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions