Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Future support for Rufo #202

Open
manuraj17 opened this issue Aug 19, 2022 · 6 comments
Open

Future support for Rufo #202

manuraj17 opened this issue Aug 19, 2022 · 6 comments
Labels
help wanted Extra attention is needed

Comments

@manuraj17
Copy link

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: ruby-formatter/rufo#272

@lassik lassik added the help wanted Extra attention is needed label Aug 19, 2022
@lassik
Copy link
Owner

lassik commented Aug 19, 2022

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.)

@manuraj17
Copy link
Author

@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.

@lassik
Copy link
Owner

lassik commented Aug 23, 2022

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.

@kzkn
Copy link

kzkn commented Aug 7, 2023

rufo maintenance continues 😃

@manuraj17
Copy link
Author

@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.

@lassik
Copy link
Owner

lassik commented Aug 8, 2023

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants