2 ms·
Did you try all three indentation modes? It's a bit unfortunate that there have to be three separate indenters, but most people find that one of them is good e
by Filligree 13y ago
Did you try all three indentation modes?
It's a bit unfortunate that there have to be three separate indenters, but most people find that one of them is good enough.
- massysett 13y agoYep, tried all three, and looked at at least one mode that someone else is developing to see if it had better indentation. I don't remember the names of the three indenters being all that distinguishing, so I had to keep notes in my .emacs just to tell them apart. One good indenter (maybe with options to select how to style your code) would be better than three. I remember reading a blog post about how hard it is to indent Haskell automatically. It breaks my chain of thought though to have something automatic that works only most of the time. It means I routinely have to stop to fiddle with the editor to make it indent correctly.
- jhenahan 13y agoHave you tried structured-haskell-mode[1]? There are video demonstrations here[2]. [1]: https://github.com/chrisdone/structured-haskell-mode https://github.com/chrisdone/structured-haskell-mode [2]: https://www.youtube.com/playlist?list=PLlzKKtH5TyE-R-k86na3bLSNaKflFNRZr https://www.youtube.com/playlist?list=PLlzKKtH5TyE-R-k86na3b...