stylish-haskell icon indicating copy to clipboard operation
stylish-haskell copied to clipboard

Add EntityListAlign to imports step

Open sorki opened this issue 8 months ago • 1 comments

This patch add support for alignment of lists of constructors, class methods, fields names in import lists entities.

ELMultiline causes

import Foo (Bar(x, y))

To be expanded to

import Foo
  (Bar
    ( x
    , y
    )
  )

This is useful in combination with LongListAlign Multiline to get a git friendly formatting.

sorki avatar Nov 07 '23 07:11 sorki