I've just started looking into Daml and writing some basic templates.
A feature that feels extremely lacking is auto-format. Searched through docs and wasn't able to find anything about it. This feels strange, especially since Haskell has a decent formatter.
Have I missed this information, and there actually is a formatter for Daml?
If not:
Unfortunately, there is no autoformatter at the moment and there is no concrete timeline for adding one.
Using Haskell autoformatters doesn’t work particularly well since they fail on any Daml specific syntax (which starts as soon as single vs double columns but while you might find workarounds for that for templates things start falling apart).
I'm not aware of publicly available style guidlines but I think the examples included in the SDK are a good reference.