A tool to generate a list of custom type constructors

Why do you think it’s not the Elm way? There are many examples where a tool to generate Elm module maybe useful. E.g. turn JSON file with translations into Elm module.

The pain is that a list of constructors is created manually. The gain is that a tool can be simply added to build task and guarantee to always have a full list of constructors.

I do agree here, that’s why I raised the question. It’s quite a small tool. So I’m interested to gather feedback if anyone else founds it painful to update a list of constructors or not really?

E.g. I remember @Janiczek made a post and another post about a list of constructors before. So there is definitely pain there.

Yes, the work to convert constructors of a custom type into a list is very straight forward. The question here really is if it can be automated, why not? Also if it’s a part of editor plugin how would you guarantee it works the same way company wide?