emacs-format-all-the-code
emacs-format-all-the-code copied to clipboard
Future support for Rufo
The default formatter for ruby is rufo
. The maintainer is seeking new maintainers for it. Not sure, how this is going to progress over time.
In the unfortunate event of rufo
becoming not maintained what do we plan to use?
Is the adding of configurable multi formatters going to help with this by allowing to choose what we require in case of such scenarios?
Reference: https://github.com/ruby-formatter/rufo/issues/272
Multi formatter support is already implemented and has been stable for a long time. So you can already choose another formatter for Ruby if you like.
Nevertheless, we should have a good default. If it turns out rufo will no longer be maintained, we should make another formatter the default.
(Personally, I use rufo and like it a lot so I hope they can find a new maintainer to keep the project going.)
@lassik Okay 👍🏽 Ah, I wasn't aware of the multi formatter being already available. I will check the docs again.
Even I have been using rufo as well. It's pretty good. Hopefully it will continue to be maintained. Will keep an eye out of something else comes as well.
The simplest is to try C-u M-x format-all-buffer
in a buffer that is using ruby-mode
. It will ask you which formatter to use.
rufo maintenance continues :smiley:
@kzkn Wow nice! Good job @kzkn. I will try to help in whatever way I can possible 👍🏽
I will keep this issue open for @lassik to decide the defaults and close.
Excellent. @kzkn, thank you very much for continuing the maintenance of this excellent formatter.
rufo has always been the default Ruby formatter for format-all, so it seems no action is necessary :)