Thu Apr 28 00:46:48 CEST 2016
Short answer: No.
Long answer: No, but I'd love for someone with the time to clean up
https://github.com/tsloughter/erl_tidy which is a rebar3 plugin named
`fmt` around erl_tidy. the erl_tidy code has issues with type specs and
other newer syntax and will currently just dump out the AST for those.
These fixes would then, of course, need to be submitted upstream to OTP,
but this plugin provides a testing ground and hopefully motivation to
someone out there :)
On Wed, Apr 27, 2016, at 05:37 PM, Mark Bucciarelli wrote:
> I'm wondering if anyone here uses or knows of a utility like gofmt for
> Erlang. If you're not familiar with gofmt, it simply reads source
> code on stdin and writes formatted source code to stdout.
> I looked at erl_tidy but cannot see how to make it read stdin.
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions