[erlang-questions] erlfmt?

Tristan Sloughter t@REDACTED
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 :)
 
--
Tristan Sloughter
t@REDACTED
 
 
 
On Wed, Apr 27, 2016, at 05:37 PM, Mark Bucciarelli wrote:
> Hi,
>
> 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.
>
> Thanks,
>
> Mark
> _________________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160427/4694b46a/attachment.htm>


More information about the erlang-questions mailing list