Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option for multiline constructors in imports #472

Open
luxocrates opened this issue Jan 7, 2024 · 0 comments
Open

Option for multiline constructors in imports #472

luxocrates opened this issue Jan 7, 2024 · 0 comments

Comments

@luxocrates
Copy link

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
  )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant