lassik / emacs-format-all-the-code

Auto-format source code in many languages with one command
https://melpa.org/#/format-all
MIT License
604 stars 105 forks source link

Add syntax_tree formatter #222

Closed strake7 closed 1 year ago

strake7 commented 1 year ago

Add formatting support for Ruby syntax_tree using the stree format command.

lassik commented 1 year ago

Thanks!

Let's use stree as the formatter name since that's the command line command, and the longer name has an ambiguity re: whether to use dash (syntax-tree) or underscore (syntax_tree). stree does not have this ambiguity.

strake7 commented 1 year ago

@lassik I should be thanking you; appreciate you kicking off this tooling!

I agree with your feedback concerning the ambiguity of the name. I think that syntax_tree should be mentioned somewhere as it stands the best chance to be recognized given the gem and repository name. As such I have left an alias within the README and changed everything else to stree. I hope you find this agreeable.

lassik commented 1 year ago

Excellent. Thank you for your patience!