Stream: ideas

Topic: Sorting imports/exports?


view this post on Zulip Ayaz Hafiz (Jul 10 2022 at 17:17):

Should formatter sort imports/exports alphabetically?

view this post on Zulip jan kili (Jul 10 2022 at 17:18):

Yes please :smiling_face:

view this post on Zulip Folkert de Vries (Jul 10 2022 at 17:19):

I have grown to like this, tough maybe sort types before values?

view this post on Zulip Folkert de Vries (Jul 10 2022 at 17:20):

so Bar, Foo, bar, foo instead of bar, Bar, foo, Foo ?

view this post on Zulip Richard Feldman (Jul 10 2022 at 18:31):

yeah :point_up: is what elm-format does and I love it :big_smile:

view this post on Zulip Richard Feldman (Jul 12 2022 at 00:04):

made an issue for it: https://github.com/rtfeldman/roc/issues/3486


Last updated: Jun 16 2026 at 16:19 UTC