Skip to content

Option for multiline constructors in imports #472

@luxocrates

Description

@luxocrates

long_list_align: multiline is great for neatly arranging my imports, but if my imports have long constructor lists, those lists will blow past the column limit, which seems like a bug to me (v0.14.5.0)

Can I put in a request to allow constructors to be multiline too?

Right now this I'm getting the unwieldy:

import Asm.Types.AsmFailable
  ( AsmErrorDetails (AddressError, CsBalanceRedefError, LocalDefButNoParentError, RedefLabelError, RedefSymbolError, SyntaxError)
  , AsmErrorLoc (CsPos, CsRange, Nowhere)
  , AsmFailable
  )

...but what I think would be most helpful is:

import Asm.Types.AsmFailable
  ( AsmErrorDetails
    ( AddressError
    , CsBalanceRedefError
    , LocalDefButNoParentError
    , RedefLabelError
    , RedefSymbolError
    , SyntaxError
    )
  , AsmErrorLoc (CsPos, CsRange, Nowhere)
  , AsmFailable
  )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions